Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 2 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | 132 | public function boot(): void |
|
16 | { |
||
17 | 132 | if ($this->app->runningInConsole()) { |
|
18 | $this->publishes([ |
||
19 | __DIR__.'/../resources/lang' => resource_path('lang/vendor/enum'), |
||
20 | ], 'translation'); |
||
21 | } |
||
22 | |||
23 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang/', 'enum'); |
||
24 | |||
25 | $this->bootValidationRules(); |
||
26 | } |
||
53 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.