@@ -191,7 +191,7 @@ |
||
191 | 191 | { |
192 | 192 | $this->getValue(null); |
193 | 193 | |
194 | - [$contentType,] = explode(';', $this->history->getLastResponse()->getHeaderLine('Content-Type'), 2); |
|
194 | + [$contentType, ] = explode(';', $this->history->getLastResponse()->getHeaderLine('Content-Type'), 2); |
|
195 | 195 | |
196 | 196 | Assert::same(JSON_ERROR_NONE, json_last_error(), sprintf('The response is not a valid json (%s)', json_last_error_msg())); |
197 | 197 | Assert::oneOf($contentType, $this->contentTypes, 'The response should have a valid content-type (expected one of %2$s, got %1$s)'); |