@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | * @copyright (c) 2018, 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 | |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | $tokens = &$this->session['CSRF']; |
173 | 173 | |
174 | 174 | return $this->tokenIsValid($tokens, $value, $key) && |
175 | - $this->tokenIsExiperd($tokens, $key) && |
|
175 | + $this->tokenIsExiperd($tokens, $key) && |
|
176 | 176 | $this->deleteToken($tokens, $key); |
177 | 177 | } |
178 | 178 |