Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Bootstrap any application services. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | 1 | public function boot() |
|
16 | { |
||
17 | 1 | Nova::serving(function (ServingNova $event) { |
|
|
|||
18 | Nova::script('video-field', __DIR__ . '/../dist/js/field.js'); |
||
19 | Nova::style('video-field', __DIR__ . '/../dist/css/field.css'); |
||
20 | 1 | }); |
|
21 | } |
||
22 | |||
23 | /** |
||
24 | * Register any application services. |
||
25 | * |
||
26 | * @return void |
||
27 | */ |
||
28 | 1 | public function register() |
|
30 | // |
||
31 | 1 | } |
|
33 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.