Passed
Push — master ( 50f4f8...f9d5bb )
by Korotkov
01:30 queued 12s
created
src/Cookie.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,9 @@
 block discarded – undo
50 50
             throw new \InvalidArgumentException("The array contains the wrong number of elements");
51 51
         }
52 52
 
53
-        if (!is_array($data[1])) setcookie($data[0], $data[1]);
53
+        if (!is_array($data[1])) {
54
+            setcookie($data[0], $data[1]);
55
+        }
54 56
 
55 57
         setcookie($data[0], $data[1][0], $data[1][1]);
56 58
     }
Please login to merge, or discard this patch.