Passed
Push — master ( 95abf0...1fa409 )
by Sebastian
01:51
created
src/CsrfGuard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
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
 
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      * @param string $value
198 198
      * @return bool
199 199
      */
200
-    private function tokenIsValid(array &$tokens, string &$value, string &$key) : bool
200
+    private function tokenIsValid(array &$tokens, string & $value, string & $key) : bool
201 201
     {
202 202
         //if token exist
203 203
         if (!isset($tokens[$key])) {
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
      * @param array $tokens
221 221
      * @return bool
222 222
      */
223
-    private function tokenIsExiperd(array &$tokens, string &$key) : bool
223
+    private function tokenIsExiperd(array &$tokens, string & $key) : bool
224 224
     {
225 225
         //if timed and if time is valid
226 226
         if (isset($tokens[$key]['time']) && $tokens[$key]['time'] < time()) {
Please login to merge, or discard this patch.