Passed
Pull Request — master (#50)
by Joao
02:06
created
src/OpenApi/OpenApiResponseBody.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             return true;
30 30
         }
31 31
         
32
-        if(!isset($this->structure['content']) && isset($this->structure['$ref'])){
32
+        if (!isset($this->structure['content']) && isset($this->structure['$ref'])) {
33 33
             $defintion = $this->schema->getDefinition($this->structure['$ref']);
34 34
             return $this->matchSchema($this->name, $defintion, $body);
35 35
         }
Please login to merge, or discard this patch.
src/AbstractRequester.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
 
208 208
         $response = $this->handleRequest($request);
209 209
         $responseHeader = $response->getHeaders();
210
-        $responseBodyStr = (string) $response->getBody();
210
+        $responseBodyStr = (string)$response->getBody();
211 211
         $responseBody = json_decode($responseBodyStr, true);
212 212
         $statusReturned = $response->getStatusCode();
213 213
 
Please login to merge, or discard this patch.