@@ -168,7 +168,7 @@ |
||
| 168 | 168 | protected function extractFromResponseHeaders($response, &$headers, &$statusCode): void |
| 169 | 169 | { |
| 170 | 170 | try { |
| 171 | - $_headers = stream_get_meta_data($response)['wrapper_data'] ?? []; |
|
| 171 | + $_headers = stream_get_meta_data($response)['wrapper_data'] ?? []; |
|
| 172 | 172 | /* |
| 173 | 173 | * HTTP status may not always be the first header in the response headers, |
| 174 | 174 | * for example, if the stream follows one or multiple redirects, the last |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | $instance = parent::withProtocolVersion($version); |
| 134 | 134 | $instance->options[CURLOPT_HTTP_VERSION] = |
| 135 | 135 | ['1.1' => CURL_HTTP_VERSION_1_1, |
| 136 | - '1.0' => CURL_HTTP_VERSION_1_0][$version]; |
|
| 136 | + '1.0' => CURL_HTTP_VERSION_1_0][$version]; |
|
| 137 | 137 | return $instance; |
| 138 | 138 | } |
| 139 | 139 | |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | protected array $attributes = []; |
| 26 | 26 | protected array $queryParams = []; |
| 27 | 27 | |
| 28 | - protected object|array|null $parsedBody = null; |
|
| 28 | + protected object | array | null $parsedBody = null; |
|
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * ServerRequest constructor. |