Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 2 | public static function on(string $className, string $methodName): self |
|
19 | { |
||
20 | 2 | return new self( |
|
21 | 2 | 'The handler method ' . $className . ' :: ' . $methodName . ' does not exist. Please check your ' . |
|
22 | 2 | 'Tactician mapping configuration or check verify that ' . $methodName . ' is actually declared in . ' . |
|
23 | 2 | $className |
|
24 | ); |
||
27 |