@@ -73,8 +73,7 @@ discard block |
||
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 |
||
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 | } |