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 dfd621e commit ba2e97bCopy full SHA for ba2e97b
src/Http/AbstractResponse.php
@@ -18,7 +18,7 @@ public function __construct(Url $startingUrl, Url $url, $statusCode, $contentTyp
18
{
19
$this->startingUrl = $startingUrl;
20
$this->url = $url;
21
- $this->statusCode = $statusCode;
+ $this->statusCode = (int)$statusCode;
22
$this->contentType = $contentType;
23
$this->headers = $headers;
24
$this->info = $info;
0 commit comments