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 | 3 | protected function call(string $methodName, array $arguments) |
|
21 | { |
||
22 | 3 | $this->resetCurrentError(); |
|
23 | 3 | $result = null; |
|
|
|||
24 | 3 | $timeStart = microtime(true); |
|
25 | try { |
||
26 | 3 | $result = $this->callInternal($methodName, $arguments); |
|
27 | } catch (Exception $e) { |
||
28 | $this->repeatError($e); |
||
29 | 3 | } finally { |
|
30 | 3 | $result = $this->executeMethodProxy($methodName, $arguments, $result, $timeStart); |
|
31 | } |
||
32 | |||
33 | 3 | return $this->processResult($result); |
|
34 | } |
||
62 |