Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class IdentityServiceProvider extends ServiceProvider |
||
10 | { |
||
11 | /** |
||
12 | * Bootstrap the application services. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function boot() |
||
17 | { |
||
18 | if ($this->app->runningInConsole()) { |
||
19 | $this->commands([ |
||
20 | IdentityGetCommand::class, |
||
21 | IdentityVerityCommand::class, |
||
22 | ]); |
||
23 | } |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Register the application services. |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | public function register() |
||
35 | }); |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Get the services provided by the provider. |
||
40 | * |
||
41 | * @return array |
||
42 | */ |
||
43 | public function provides() |
||
46 | } |
||
47 | } |
||
48 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.