Completed
Push — master ( 7f5780...cadf6d )
by Joao
19s
created
src/JwtSession.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
     /**
25 25
      * JwtSession constructor.
26 26
      *
27
-     * @param $serverName
28
-     * @param $secretKey
27
+     * @param string $serverName
28
+     * @param string $secretKey
29 29
      * @param int $timeOutMinutes
30 30
      */
31 31
     public function __construct($serverName, $secretKey, $timeOutMinutes = null, $sessionContext = null, $cookieDomain = null, $path = "/")
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             setcookie(
89 89
                 self::COOKIE_PREFIX . $this->suffix,
90 90
                 null,
91
-                (time()-3000),
91
+                (time() - 3000),
92 92
                 $this->path,
93 93
                 $this->cookieDomain
94 94
             );
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
             setcookie(
189 189
                 self::COOKIE_PREFIX . $this->suffix,
190 190
                 $token,
191
-                (time()+$this->timeOutMinutes*60) ,
191
+                (time() + $this->timeOutMinutes * 60),
192 192
                 $this->path,
193 193
                 $this->cookieDomain,
194 194
                 false,
Please login to merge, or discard this patch.