diff --git a/lib/Command/SendEmails.php b/lib/Command/SendEmails.php index a2f2a2e7..6aacc1f1 100644 --- a/lib/Command/SendEmails.php +++ b/lib/Command/SendEmails.php @@ -68,11 +68,11 @@ protected function configure() { * @param InputInterface $input * @param OutputInterface $output * - * @return int|void + * @return int */ - public function execute(InputInterface $input, OutputInterface $output) { - $verbocity = $output->getVerbosity(); - if ($verbocity >= OutputInterface::VERBOSITY_VERBOSE) { + public function execute(InputInterface $input, OutputInterface $output): int { + $verbosity = $output->getVerbosity(); + if ($verbosity >= OutputInterface::VERBOSITY_VERBOSE) { $progress = new ProgressBar($output); $progress->start(); } else { @@ -95,6 +95,7 @@ public function execute(InputInterface $input, OutputInterface $output) { if ($progress !== null) { $progress->finish(); } + return 0; } /**