Passed
Branch master (16692c)
by Jean
04:17
created
src/DeferredCallChain.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public final function __call($method, array $arguments)
30 30
     {
31
-        $this->stack[ $method ] = $arguments;
31
+        $this->stack[$method] = $arguments;
32 32
 
33 33
         return $this;
34 34
     }
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
         foreach ($this->stack as $method => $arguments) {
53 53
             $string .= '->';
54
-            $string .= $method.'(';
54
+            $string .= $method . '(';
55 55
             $string .= implode(', ', array_map(function($argument) {
56 56
                 return var_export($argument, true);
57 57
             }, $arguments));
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
         foreach ($this->stack as $method => $arguments) {
71 71
             try {
72 72
                 $out = call_user_func_array([$out, $method], $arguments);
73
-            }
74
-            catch (\Exception $e) {
73
+            } catch (\Exception $e) {
75 74
                 // Throw $e with the good stack (usage exception)
76 75
                 throw $e;
77 76
             }
Please login to merge, or discard this patch.