Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | 3 | public function getMethodReflectionFromClassString(string $class, string $method): ?ReflectionMethod |
|
14 | { |
||
15 | try { |
||
16 | 3 | return new ReflectionMethod($class, $method); |
|
17 | 1 | } catch (ReflectionException $e) { |
|
18 | 1 | throw new MissingClassOrMethodException($e->getMessage(), $e->getCode(), $e); |
|
19 | } |
||
34 |