Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class MessageServiceProvider extends ServiceProvider |
||
11 | { |
||
12 | /** |
||
13 | * Register services. |
||
14 | * |
||
15 | * @return void |
||
16 | */ |
||
17 | 18 | public function register() |
|
18 | { |
||
19 | 18 | $this->app->bind(MessageServiceInterface::class, function ($app) { |
|
|
|||
20 | 9 | return new MessageService( |
|
21 | 9 | $this->app->make(ContactServiceInterface::class) |
|
22 | ); |
||
23 | 18 | }); |
|
24 | 18 | } |
|
25 | |||
26 | /** |
||
27 | * Bootstrap services. |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | 18 | public function boot() |
|
33 | // |
||
34 | 18 | } |
|
36 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.