@@ -24,8 +24,8 @@ |
||
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 = "/") |
@@ -88,7 +88,7 @@ discard block |
||
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 |
||
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, |