diff --git a/Command/DebugCommand.php b/Command/DebugCommand.php index 195d4ba..5b00ac4 100644 --- a/Command/DebugCommand.php +++ b/Command/DebugCommand.php @@ -69,7 +69,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int if (!$names = $input->getArgument('schedule') ?: $this->scheduleNames) { $io->error('No schedules found.'); - return self::FAILURE; + return 2; } foreach ($names as $name) { @@ -88,7 +88,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int ); } - return self::SUCCESS; + return 0; } /**