Completed
Push — master ( 89c8a9...bb4dcf )
by Sergey
03:12
created
src/Helpers/CsrfHelper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @param string $line
33
-     * @return bool
33
+     * @return false|string
34 34
      */
35 35
     protected static function _parseLineForToken($line)
36 36
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             return false;
39 39
         }
40 40
 
41
-        preg_match('/' . self::TOKEN_NAME . '\s(\w*)/', $line, $matches);
41
+        preg_match('/'.self::TOKEN_NAME.'\s(\w*)/', $line, $matches);
42 42
         if ($matches) {
43 43
             return $matches[1];
44 44
         }
Please login to merge, or discard this patch.