Completed
Push — master ( 0ebdbd...75c9f6 )
by Mike
14s
created
src/Http/Middleware/LaravelCaffeineDripMiddleware.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
         $content = $response->getContent();
14 14
 
15
-        if (! is_string($content) || strlen(trim($content)) === 0) {
15
+        if (!is_string($content) || strlen(trim($content)) === 0) {
16 16
             return $response;
17 17
         }
18 18
 
@@ -35,8 +35,8 @@  discard block
 block discarded – undo
35 35
             '<meta\s+',
36 36
             'name\s*=\s*[\'"]csrf[_-]token[\'"]',
37 37
         ]);
38
-        $hasNoFormToken = ! preg_match($formTokenRegexp, $content);
39
-        $hasNoMetaToken = ! preg_match($metaTokenRegexp, $content);
38
+        $hasNoFormToken = !preg_match($formTokenRegexp, $content);
39
+        $hasNoMetaToken = !preg_match($metaTokenRegexp, $content);
40 40
 
41 41
         if ($hasNoFormToken && $hasNoMetaToken) {
42 42
             return $response;
Please login to merge, or discard this patch.