@@ -92,10 +92,10 @@ |
||
| 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 | |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | $required = array_search($prop, $schema['required']); |
| 121 | 121 | if (!isset($body[$prop])) { |
| 122 | 122 | if ($required !== false) { |
| 123 | - throw new NotMatchedException("Required property '$prop' in '$name' not found in object"); |
|
| 123 | + throw new NotMatchedException("Required property '$prop' in '$name' not found in object"); |
|
| 124 | 124 | } |
| 125 | 125 | unset($body[$prop]); |
| 126 | 126 | continue; |