@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | if (false === $this->has($token)) { |
46 | 46 | $claims = $token->getClaims(); |
47 | 47 | $exp = $claims['exp']->getValue() - time(); |
48 | - $this->store->push($this->cacheName, (string)$token, $exp); |
|
48 | + $this->store->push($this->cacheName, (string) $token, $exp); |
|
49 | 49 | } |
50 | 50 | } |
51 | 51 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | { |
60 | 60 | $blacklist = $this->getAll(); |
61 | 61 | |
62 | - return in_array((string)$token, $blacklist); |
|
62 | + return in_array((string) $token, $blacklist); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |