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