diff --git a/Classes/Command/BoostQueueCommand.php b/Classes/Command/BoostQueueCommand.php index 966b3926d2c..287f938ec73 100644 --- a/Classes/Command/BoostQueueCommand.php +++ b/Classes/Command/BoostQueueCommand.php @@ -62,7 +62,7 @@ protected function configure(): void * * @see setCode() */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $io = new SymfonyStyle($input, $output); diff --git a/Classes/Command/FlushCacheCommand.php b/Classes/Command/FlushCacheCommand.php index c9c7b69dcb7..85bb5a4a4f2 100644 --- a/Classes/Command/FlushCacheCommand.php +++ b/Classes/Command/FlushCacheCommand.php @@ -44,7 +44,7 @@ protected function configure(): void * * @see setCode() */ - protected function execute(InputInterface $input, OutputInterface $output) + protected function execute(InputInterface $input, OutputInterface $output): int { $cacheService = GeneralUtility::makeInstance(CacheService::class); $cacheService->flush((bool) $input->getOption('force-boost-mode-flush'));