style updates
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Enterprise\Console;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
@@ -7,6 +8,13 @@ use Modules\Enterprise\Services\BackupService;
|
||||
final class BackupPruneCommand extends Command
|
||||
{
|
||||
protected $signature = 'enterprise:backup-prune';
|
||||
|
||||
protected $description = 'Delete backups older than the configured retention period.';
|
||||
public function handle(BackupService $service): int { $this->info($service->prune().' backup(s) pruned.'); return self::SUCCESS; }
|
||||
|
||||
public function handle(BackupService $service): int
|
||||
{
|
||||
$this->info($service->prune().' backup(s) pruned.');
|
||||
|
||||
return self::SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user