@@ -29,7 +29,7 @@ |
||
| 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 | } |
@@ -207,7 +207,7 @@ |
||
| 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 | |