Conditions | 2 |
Paths | 5 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2.0932 |
Changes | 0 |
1 | <?php |
||
20 | 2 | protected function afterCall(string $methodName, array $arguments, mixed $result, float $timeStart): mixed |
|
21 | { |
||
22 | try { |
||
23 | 1 | if (isset($this->methods[$methodName])) { |
|
24 | $callback = $this->methods[$methodName]; |
||
25 | $result = $callback($result, ...$arguments); |
||
26 | 1 | } |
|
27 | } finally { |
||
28 | $this->logProxy($this->getService(), $this->getInstance(), $methodName, $arguments, $result, $timeStart); |
||
29 | } |
||
30 | 1 | ||
31 | 1 | return $result; |
|
32 | } |
||
42 |