diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 5be0eaef..f17586c0 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -11,21 +11,9 @@ class Kernel extends ConsoleKernel { /** - * The Artisan commands provided by your application. - * - * @var array + * @codeCoverageIgnore */ - protected $commands = [ - // - ]; - - /** - * Define the application's command schedule. - * - * @param \Illuminate\Console\Scheduling\Schedule $schedule - * @return void - */ - protected function schedule(Schedule $schedule) + protected function schedule(Schedule $schedule): void { $schedule->job(new ProcessRecurrings())->daily(); $schedule->job(new FetchConversionRates())->daily(); @@ -33,12 +21,7 @@ protected function schedule(Schedule $schedule) $schedule->job(new SendWeeklyReports())->weekly()->fridays()->at('21:00'); } - /** - * Register the Closure based commands for the application. - * - * @return void - */ - protected function commands() + protected function commands(): void { $this->load(__DIR__ . '/Commands');