Passed
Push — master ( f9ddfc...58c2fa )
by Jean
02:06
created
src/DeferredCallChain.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@  discard block
 block discarded – undo
73 73
                     return var_export($argument, true);
74 74
                 }, $call['arguments']));
75 75
                 $string .= ')';
76
-            }
77
-            else {
76
+            } else {
78 77
                 $string .= '[' . var_export($call['entry'], true) . ']';
79 78
             }
80 79
         }
@@ -92,12 +91,10 @@  discard block
 block discarded – undo
92 91
             try {
93 92
                 if (isset($call['method'])) {
94 93
                     $out = call_user_func_array([$out, $call['method']], $call['arguments']);
95
-                }
96
-                else {
94
+                } else {
97 95
                     $out = $out[ $call['entry'] ];
98 96
                 }
99
-            }
100
-            catch (\Exception $e) {
97
+            } catch (\Exception $e) {
101 98
                 // Throw $e with the good stack (usage exception)
102 99
                 throw $e;
103 100
             }
Please login to merge, or discard this patch.