Passed
Push — master ( 0362f6...c4bc93 )
by Arthur
04:24 queued 11s
created
src/Action.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,14 +61,14 @@
 block discarded – undo
61 61
             $this->failHook($exception);
62 62
         }
63 63
 
64
-        return tap($value, function ($value) {
64
+        return tap($value, function($value) {
65 65
             $this->successHook($value);
66 66
         });
67 67
     }
68 68
 
69 69
     public function resolveBeforeHook()
70 70
     {
71
-        $method = 'as' . Str::studly($this->runningAs);
71
+        $method = 'as'.Str::studly($this->runningAs);
72 72
 
73 73
         if (method_exists($this, $method)) {
74 74
             return $this->resolveAndCall($this, $method);
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,9 @@
 block discarded – undo
60 60
         $this->resolveIncludes();
61 61
         $this->resolveBeforeHook();
62 62
 
63
-        if ($authorization)
64
-            $this->resolveAuthorization();
63
+        if ($authorization) {
64
+                    $this->resolveAuthorization();
65
+        }
65 66
 
66 67
         $this->resolveValidation();
67 68
         try {
Please login to merge, or discard this patch.