@@ -28,7 +28,7 @@ discard block |
||
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 |
||
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)); |
@@ -70,8 +70,7 @@ |
||
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 | } |