Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | 34 | protected function callSnakeMethod($name, array $args) |
|
33 | { |
||
34 | 34 | return $this->performOnSnakeMethod( |
|
35 | 34 | $name, |
|
36 | 34 | function (\ReflectionMethod $method) use ($args) { |
|
37 | 34 | return $method->invokeArgs($this, $args); |
|
38 | 34 | }, |
|
39 | 34 | static function ($name) { |
|
40 | 1 | throw new \BadMethodCallException('Call to undefined method ' . static::class . '::' . $name . '()'); |
|
41 | 34 | } |
|
79 |