@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | * @copyright (c) 2017, Sebastian Rapetti |
| 8 | 8 | * @license http://opensource.org/licenses/MIT MIT License |
| 9 | 9 | */ |
| 10 | -declare(strict_types=1); |
|
| 10 | +declare(strict_types = 1); |
|
| 11 | 11 | |
| 12 | 12 | namespace Linna; |
| 13 | 13 | |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | * |
| 200 | 200 | * @return bool |
| 201 | 201 | */ |
| 202 | - private function tokenIsValid(array &$tokens, string &$value, string &$key) : bool |
|
| 202 | + private function tokenIsValid(array &$tokens, string & $value, string & $key) : bool |
|
| 203 | 203 | { |
| 204 | 204 | //if token exist |
| 205 | 205 | if (!isset($tokens[$key])) { |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | * |
| 225 | 225 | * @return bool |
| 226 | 226 | */ |
| 227 | - private function tokenIsExiperd(array &$tokens, string &$key) : bool |
|
| 227 | + private function tokenIsExiperd(array &$tokens, string & $key) : bool |
|
| 228 | 228 | { |
| 229 | 229 | //if timed and if time is valid |
| 230 | 230 | if (isset($tokens[$key]['time']) && $tokens[$key]['time'] < time()) { |