Total Complexity | 1 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class DeleteExpiredBans extends Command |
||
20 | { |
||
21 | /** |
||
22 | * The name and signature of the console command. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $signature = 'ban:delete-expired'; |
||
27 | |||
28 | /** |
||
29 | * The console command description. |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $description = 'Delete expired ban models.'; |
||
34 | |||
35 | /** |
||
36 | * Ban service. |
||
37 | * |
||
38 | * @var \Cog\Contracts\Ban\BanService |
||
39 | */ |
||
40 | protected $service; |
||
41 | |||
42 | /** |
||
43 | * Execute the console command. |
||
44 | * |
||
45 | * @return void |
||
46 | */ |
||
47 | public function handle(): void |
||
54 |