File tree 1 file changed +7
-2
lines changed
Filter options
src/Symfony/Component/HttpClient/Response 1 file changed +7
-2
lines changed
Original file line number Diff line number Diff line change 25
25
use Symfony \Component \HttpClient \HttpClientTrait ;
26
26
use Symfony \Component \HttpClient \Internal \AmpBody ;
27
27
use Symfony \Component \HttpClient \Internal \AmpClientState ;
28
+ use Symfony \Component \HttpClient \Internal \ClientState ;
28
29
use Symfony \Contracts \HttpClient \ResponseInterface ;
29
30
30
31
/**
@@ -143,8 +144,10 @@ private static function schedule(self $response, array &$runningResponses): void
143
144
144
145
/**
145
146
* {@inheritdoc}
147
+ *
148
+ * @param AmpClientState $multi
146
149
*/
147
- private static function perform (AmpClientState $ multi , array &$ responses = null ): void
150
+ private static function perform (ClientState $ multi , array &$ responses = null ): void
148
151
{
149
152
if ($ responses ) {
150
153
foreach ($ responses as $ response ) {
@@ -163,8 +166,10 @@ private static function perform(AmpClientState $multi, array &$responses = null)
163
166
164
167
/**
165
168
* {@inheritdoc}
169
+ *
170
+ * @param AmpClientState $multi
166
171
*/
167
- private static function select (AmpClientState $ multi , float $ timeout ): int
172
+ private static function select (ClientState $ multi , float $ timeout ): int
168
173
{
169
174
$ selected = 1 ;
170
175
$ delay = Loop::delay (1000 * $ timeout , static function () use (&$ selected ) {
You can’t perform that action at this time.
0 commit comments