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