Passed
Push — master ( 76187f...580f55 )
by Enjoys
01:23
created
example/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
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'));
Please login to merge, or discard this patch.
src/Cookie.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.