Passed
Push — master ( 6f0c98...4ef57f )
by Baptiste
56s
created
src/Json/Context.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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)');
Please login to merge, or discard this patch.