Skip to content

Commit

Permalink
Remove usage of constant for better consistency across the codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 5, 2023
1 parent c3aef3e commit b475a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Command/DebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -88,7 +88,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
);
}

return self::SUCCESS;
return 0;
}

/**
Expand Down

0 comments on commit b475a0c

Please sign in to comment.