@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $this->request = $request; |
| 70 | 70 | $this->loop = $loop; |
| 71 | 71 | $this->promise = $promise->then( |
| 72 | - function (?ResponseInterface $response): ResponseInterface { |
|
| 72 | + function(?ResponseInterface $response): ResponseInterface { |
|
| 73 | 73 | $this->response = $response; |
| 74 | 74 | $this->state = self::FULFILLED; |
| 75 | 75 | |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | /** |
| 79 | 79 | * @param mixed $reason |
| 80 | 80 | */ |
| 81 | - function ($reason): void { |
|
| 81 | + function($reason): void { |
|
| 82 | 82 | $this->state = self::REJECTED; |
| 83 | 83 | |
| 84 | 84 | if ($reason instanceof HttplugException) { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | { |
| 116 | 116 | $loop = $this->loop; |
| 117 | 117 | while (HttpPromise::PENDING === $this->getState()) { |
| 118 | - $loop->futureTick(function () use ($loop) { |
|
| 118 | + $loop->futureTick(function() use ($loop) { |
|
| 119 | 119 | $loop->stop(); |
| 120 | 120 | }); |
| 121 | 121 | $loop->run(); |