@@ -39,8 +39,7 @@ |
||
| 39 | 39 | $data = json_decode($response->getBody()); |
| 40 | 40 | if ($data === null) { |
| 41 | 41 | throw new ValidationFailedException("The given JSON data can not be validated (last error: '" . $this->json_errors[json_last_error()] . "')."); |
| 42 | - } |
|
| 43 | - else { |
|
| 42 | + } else { |
|
| 44 | 43 | $error = false; |
| 45 | 44 | $messageParts = array(); |
| 46 | 45 | |