dev-think-one /
nova-has-many-on-index
| 1 | <?php |
||
| 2 | |||
| 3 | namespace NovaHasManyIndex; |
||
| 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 | 2 | public function boot() |
|
| 16 | { |
||
| 17 | 2 | Nova::serving(function (ServingNova $event) { |
|
|
0 ignored issues
–
show
|
|||
| 18 | 1 | Nova::script('nova-has-many-index', __DIR__.'/../dist/js/field.js'); |
|
| 19 | 1 | Nova::style('nova-has-many-index', __DIR__.'/../dist/css/field.css'); |
|
| 20 | 2 | }); |
|
| 21 | } |
||
| 22 | } |
||
| 23 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.