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