@@ -50,7 +50,9 @@ |
||
| 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 | } |