Passed
Pull Request — master (#111)
by
unknown
11:47
created
src/Parsers/ResponseParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()) {
Please login to merge, or discard this patch.