Total Complexity | 4 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 95% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
12 | { |
||
13 | 2 | public function boot(): void |
|
14 | { |
||
15 | 2 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'nova-naviga-ad-preview'); |
|
16 | |||
17 | 2 | $this->app->booted(function () { |
|
18 | 2 | $this->routes(); |
|
19 | 2 | }); |
|
20 | |||
21 | 2 | Nova::serving(function (ServingNova $event) { |
|
|
|||
22 | // |
||
23 | 2 | }); |
|
24 | } |
||
25 | |||
26 | /** |
||
27 | * Register any application services. |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | 2 | public function register() |
|
33 | // |
||
34 | 2 | } |
|
35 | |||
36 | 2 | protected function routes(): void |
|
53 | } |
||
54 | } |
||
55 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.