Completed
Push — master ( 9d2615...e08718 )
by Sebastian
04:39
created
src/CsrfGuard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.