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