| Conditions | 2 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | protected function call(string $methodName, array $arguments) |
||
| 17 | { |
||
| 18 | $this->resetCurrentError(); |
||
| 19 | $result = null; |
||
|
|
|||
| 20 | $timeStart = microtime(true); |
||
| 21 | try { |
||
| 22 | $result = $this->callInternal($methodName, $arguments); |
||
| 23 | } catch (\Exception $e) { |
||
| 24 | $this->repeatError($e); |
||
| 25 | } finally { |
||
| 26 | $result = $this->executeMethodProxy($methodName, $arguments, $result, $timeStart); |
||
| 27 | } |
||
| 28 | |||
| 29 | return $this->processResult($result); |
||
| 30 | } |
||
| 58 |