| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | 2 | public function processMethod(MethodCall $methodCall) |
|
| 20 | { |
||
| 21 | 2 | $methodsCollection = $this->getMethodsCollection($methodCall); |
|
| 22 | 2 | if ($methodsCollection->has($methodCall->getName())) { |
|
| 23 | 2 | return $methodsCollection->run($methodCall->getName(), $methodCall->getArgs()); |
|
| 24 | } |
||
| 25 | 1 | return null; |
|
| 26 | } |
||
| 37 |