/** * Execute the console command. * * @return mixed */ public function handle() { $days = (int) $this->argument('days'); $days = $days ?: 30; LoginActivityFacade::cleanLog($days); $this->info('Older login activity logs cleaned!'); }