Passed
Push — master ( 0b999e...3d12f2 )
by Baptiste
43s
created
src/Json/Context.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
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)');
Please login to merge, or discard this patch.