| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class ServiceProvider extends \Illuminate\Support\ServiceProvider |
||
| 6 | { |
||
| 7 | 8 | public function boot(): void |
|
| 8 | { |
||
| 9 | 8 | if ($this->app->runningInConsole()) { |
|
| 10 | 8 | $this->publishes([ |
|
| 11 | 8 | __DIR__ . '/../config/gdc-info.php' => config_path('gdc-info.php'), |
|
| 12 | 8 | ], 'config'); |
|
| 13 | |||
| 14 | } |
||
| 15 | |||
| 16 | 8 | $this->commands([ |
|
| 17 | |||
| 18 | 8 | ]); |
|
| 19 | } |
||
| 20 | |||
| 21 | 8 | public function register(): void |
|
| 27 | 8 | }); |
|
| 28 | } |
||
| 30 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.