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