@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | $document = new InvalidResponseDocument; |
| 35 | 35 | |
| 36 | 36 | if ($this->responseHasBody($response)) { |
| 37 | - $document = $this->parser->parse((string) $response->getBody()); |
|
| 37 | + $document = $this->parser->parse((string)$response->getBody()); |
|
| 38 | 38 | } elseif ($this->responseHasSuccessfulStatusCode($response)) { |
| 39 | 39 | $document = new Document; |
| 40 | 40 | } |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | return true; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - $contents = (string) $body; |
|
| 59 | + $contents = (string)$body; |
|
| 60 | 60 | $hasBody = trim($contents) !== ''; |
| 61 | 61 | |
| 62 | 62 | if ($body->isSeekable()) { |