@@ -50,7 +50,7 @@ |
||
50 | 50 | { |
51 | 51 | $this->getJson(); |
52 | 52 | |
53 | - [$contentType,] = explode(';', $this->history->getLastResponse()->getHeaderLine('Content-Type'), 2); |
|
53 | + [$contentType, ] = explode(';', $this->history->getLastResponse()->getHeaderLine('Content-Type'), 2); |
|
54 | 54 | |
55 | 55 | Assert::same(JSON_ERROR_NONE, json_last_error(), sprintf('The response is not a valid json (%s)', json_last_error_msg())); |
56 | 56 | Assert::oneOf($contentType, $this->getContentTypes(), 'The response should have a valid content-type (expected one of %2$s, got %1$s)'); |