We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe4ad0a commit 2066ce5Copy full SHA for 2066ce5
src/Tools/HeadersParser.php
@@ -32,7 +32,7 @@ public function parseArray(array $headers, ResponseInterface $response)
32
$reasonPhrase = count($parts) > 2 ? $parts[2] : '';
33
/** @var ResponseInterface $response */
34
$response = $response
35
- ->withStatus($parts[1], $reasonPhrase)
+ ->withStatus((int) $parts[1], $reasonPhrase)
36
->withProtocolVersion(substr($parts[0], 5));
37
38
foreach ($headers as $headerLine) {
0 commit comments