Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
27 | 1 | public function call($functionName, $args) |
|
28 | { |
||
29 | 1 | if (method_exists($this->getClient(), $functionName) === true) { |
|
30 | // @codeCoverageIgnoreStart |
||
31 | return $this->getClient()->$functionName($args); |
||
32 | // @codeCoverageIgnoreEnd |
||
33 | } |
||
34 | |||
35 | 1 | return $this->getClient()->__soapCall($functionName, $args); |
|
36 | } |
||
37 | |||
48 |