| Conditions | 2 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 6 | protected function call(string $methodName, array $arguments) |
|
| 26 | { |
||
| 27 | 6 | $this->resetCurrentError(); |
|
| 28 | 6 | $result = null; |
|
|
|
|||
| 29 | 6 | $timeStart = microtime(true); |
|
| 30 | try { |
||
| 31 | 6 | $result = $this->callInternal($methodName, $arguments); |
|
| 32 | 3 | } catch (Exception $e) { |
|
| 33 | 3 | $this->repeatError($e); |
|
| 34 | 3 | } finally { |
|
| 35 | 6 | $result = $this->executeMethodProxy($methodName, $arguments, $result, $timeStart); |
|
| 36 | } |
||
| 37 | |||
| 38 | 3 | return $this->processResult($result); |
|
| 39 | } |
||
| 62 |