1 | <?php |
||
2 | |||
3 | namespace NovaVideoField; |
||
4 | |||
5 | use Laravel\Nova\Events\ServingNova; |
||
6 | use Laravel\Nova\Nova; |
||
7 | |||
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) { |
|
0 ignored issues
–
show
|
|||
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() |
|
29 | { |
||
30 | // |
||
31 | 1 | } |
|
32 | } |
||
33 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.