Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 94.74% |
Changes | 0 |
1 | <?php |
||
9 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
10 | { |
||
11 | /** |
||
12 | * Bootstrap any application services. |
||
13 | */ |
||
14 | 14 | public function boot() |
|
15 | { |
||
16 | 14 | $this->app->booted(function () { |
|
17 | 14 | $this->routes(); |
|
18 | 14 | }); |
|
19 | |||
20 | 14 | Nova::serving(function (ServingNova $event) { |
|
|
|||
21 | 6 | Nova::script('list-card', __DIR__ . '/../dist/js/card.js'); |
|
22 | 14 | }); |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * Register the card's routes. |
||
27 | */ |
||
28 | 14 | protected function routes() |
|
41 | 14 | }); |
|
42 | } |
||
43 | |||
44 | /** |
||
45 | * Register any application services. |
||
46 | */ |
||
47 | 14 | public function register() |
|
49 | 14 | } |
|
50 | } |
||
51 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.