Conditions | 1 |
Paths | 1 |
Total Lines | 4 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
11 | 4 | public static function forClass(ReflectionClass $class, ReflectionMethod $method, string $locale): MissingRouteLocale |
|
12 | { |
||
13 | 4 | return new MissingRouteLocale("Localized prefix(es) {$locale} is/are not defined on {$class->name} while it is/are defined on its action {$method->name}."); |
|
14 | } |
||
15 | } |