Completed
Push — master ( 1fa409...65a0a8 )
by Sebastian
01:44
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
 
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()) {
Please login to merge, or discard this patch.