Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Register bindings in the container. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | public function register() |
||
16 | { |
||
17 | $this->app->singleton(ContextManager::class, function ($app) { |
||
|
|||
18 | return new ContextManager(); |
||
19 | }); |
||
20 | } |
||
21 | |||
22 | public function provides() { |
||
23 | return [ContextManager::class]; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Boot methods for the package |
||
28 | */ |
||
29 | public function boot() |
||
37 | }); |
||
38 | } |
||
39 | } |
||
40 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.