@@ -53,13 +53,13 @@ |
||
53 | 53 | |
54 | 54 | public function doValidation(Response $response) |
55 | 55 | { |
56 | - $body = (string)$response->getBody(); |
|
56 | + $body = (string)$response->getBody(); |
|
57 | 57 | |
58 | 58 | $json = json_decode($body); |
59 | 59 | |
60 | - if(!$json) { |
|
61 | - throw new ValidationFailedException('The given json document is empty or not valid json.'); |
|
62 | - } |
|
60 | + if(!$json) { |
|
61 | + throw new ValidationFailedException('The given json document is empty or not valid json.'); |
|
62 | + } |
|
63 | 63 | |
64 | 64 | $store = new JsonStore($json); |
65 | 65 |