From 1f733a117233311988ebc571cf1ec768650fc3c0 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Fri, 19 Jul 2024 16:44:32 +0200 Subject: [PATCH] [Rector] Applied all Symfony 5.x rectors to the production codebase Applied rules: * CommandConstantReturnCodeRector --- src/bundle/Command/CronRunCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Command/CronRunCommand.php b/src/bundle/Command/CronRunCommand.php index 71f2c8b..d44ce0d 100644 --- a/src/bundle/Command/CronRunCommand.php +++ b/src/bundle/Command/CronRunCommand.php @@ -75,7 +75,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $this->logReportsOutput($reports); } - return 0; + return Command::SUCCESS; } private function logReportsOutput(CronReport $reports): void