| Total Complexity | 4 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | final class Install extends Command |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * The name and signature of the console command. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $signature = 'love:install'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The console command description. |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $description = 'Install Laravel Love'; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Execute the console command. |
||
| 38 | * |
||
| 39 | * @param \Illuminate\Contracts\Events\Dispatcher $events |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | public function handle( |
||
| 43 | Dispatcher $events |
||
|
|
|||
| 44 | ): void { |
||
| 45 | $this->createDefaultReactionTypes(); |
||
| 46 | } |
||
| 47 | |||
| 48 | private function createDefaultReactionTypes(): void |
||
| 67 | } |
||
| 68 | } |
||
| 70 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.