Total Complexity | 4 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
21 | class UpDownServiceProvider extends ServiceProvider { |
||
22 | |||
23 | /** |
||
24 | * Indicates if loading of the provider is deferred. |
||
25 | * |
||
26 | * @var bool |
||
27 | */ |
||
28 | protected $defer = true; |
||
29 | |||
30 | /** |
||
31 | * |
||
32 | */ |
||
33 | 7 | public function boot() { |
|
37 | ]); |
||
38 | |||
39 | 7 | } |
|
40 | |||
41 | /** |
||
42 | * Register the service provider. |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | 7 | public function register() { |
|
47 | |||
48 | 7 | $this->mergeConfigFrom( |
|
49 | 7 | __DIR__ . '/../config/updown.php', 'updown' |
|
50 | ); |
||
51 | |||
52 | 7 | $this->registerUpDownBuilder(); |
|
53 | 7 | } |
|
54 | |||
55 | /** |
||
56 | * Get the services provided by the provider. |
||
57 | * |
||
58 | * @return array |
||
59 | */ |
||
60 | 1 | public function provides(): array { |
|
63 | } |
||
64 | |||
65 | /** |
||
66 | * Register the UpDown builder instance. |
||
67 | * |
||
68 | * @return void |
||
69 | */ |
||
70 | 7 | protected function registerUpDownBuilder() { |
|
75 | |||
76 | 7 | }); |
|
80 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.