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 109a7a1 commit 5ccaa6bCopy full SHA for 5ccaa6b
src/Parsers/ResponseParser.php
@@ -46,7 +46,7 @@ public function parse(ResponseInterface $response): DocumentInterface
46
47
private function responseHasBody(ResponseInterface $response): bool
48
{
49
- return (bool) $response->getBody()->getSize();
+ return empty($response->getBody()->getSize());
50
}
51
52
private function responseHasSuccessfulStatusCode(ResponseInterface $response): bool
0 commit comments