Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1.0876 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 6 | public function boot() |
|
19 | { |
||
20 | 6 | $this->app->booted(function () { |
|
21 | 6 | $this->routes(); |
|
22 | 6 | }); |
|
23 | |||
24 | 6 | Nova::serving(function (ServingNova $event) { |
|
|
|||
25 | Nova::script('nova-laravel-filemanager', __DIR__ . '/../dist/js/field.js'); |
||
26 | Nova::style('nova-laravel-filemanager', __DIR__ . '/../dist/css/field.css'); |
||
27 | Nova::translations(__DIR__ . '/../lang/'.app()->getLocale().'.json'); |
||
28 | Nova::translations(lang_path('vendor/nova-laravel-filemanager/'.app()->getLocale().'.json')); |
||
29 | 6 | }); |
|
56 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.