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