Completed
Push — master ( 5bac92...f21c98 )
by Joao
07:04 queued 03:22
created
src/SwaggerTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,10 +92,10 @@
 block discarded – undo
92 92
         $statusReturned = null;
93 93
         try {
94 94
             $response = $this->guzzleHttpClient->send($request);
95
-            $responseBody = json_decode((string) $response->getBody(), true);
95
+            $responseBody = json_decode((string)$response->getBody(), true);
96 96
             $statusReturned = $response->getStatusCode();
97 97
         } catch (BadResponseException $ex) {
98
-            $responseBody = json_decode((string) $ex->getResponse()->getBody(), true);
98
+            $responseBody = json_decode((string)$ex->getResponse()->getBody(), true);
99 99
             $statusReturned = $ex->getResponse()->getStatusCode();
100 100
         }
101 101
 
Please login to merge, or discard this patch.
src/SwaggerSchema.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function __construct($jsonFile, $allowNullValues = false)
22 22
     {
23 23
         $this->jsonFile = json_decode($jsonFile, true);
24
-        $this->allowNullValues = (bool) $allowNullValues;
24
+        $this->allowNullValues = (bool)$allowNullValues;
25 25
     }
26 26
 
27 27
     public function getHttpSchema()
@@ -183,6 +183,6 @@  discard block
 block discarded – undo
183 183
      */
184 184
     public function setAllowNullValues($value)
185 185
     {
186
-        $this->allowNullValues = (bool) $value;
186
+        $this->allowNullValues = (bool)$value;
187 187
     }
188 188
 }
Please login to merge, or discard this patch.