@@ -11,7 +11,7 @@ |
||
11 | 11 | |
12 | 12 | |
13 | 13 | $cookie->set('token', time(), 'session'); |
14 | -$cookie->set('token2', time()+500000000, 3600, [ |
|
14 | +$cookie->set('token2', time() + 500000000, 3600, [ |
|
15 | 15 | 'samesite' => 'strict' |
16 | 16 | ]); |
17 | 17 | var_dump(Cookie::has('token4')); |
@@ -83,7 +83,7 @@ |
||
83 | 83 | |
84 | 84 | $this->setExpires($ttl); |
85 | 85 | |
86 | - if($raw === true){ |
|
86 | + if ($raw === true) { |
|
87 | 87 | setrawcookie($key, (string)$value, $this->mergeOptions($options)); |
88 | 88 | return; |
89 | 89 | } |