Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stay in line with the Symfony\Component\Console\Command:execute function signatur to prevent exception #405

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/Command/BoostQueueCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
*
* @see setCode()
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int

Check failure on line 65 in Classes/Command/BoostQueueCommand.php

View workflow job for this annotation

GitHub Actions / build (8.1, 12)

PHPDoc tag @return with type int|null is not subtype of native type int.

Check failure on line 65 in Classes/Command/BoostQueueCommand.php

View workflow job for this annotation

GitHub Actions / build (8.2, 12)

PHPDoc tag @return with type int|null is not subtype of native type int.
{
$io = new SymfonyStyle($input, $output);

Expand Down
2 changes: 1 addition & 1 deletion Classes/Command/FlushCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*
* @see setCode()
*/
protected function execute(InputInterface $input, OutputInterface $output)
protected function execute(InputInterface $input, OutputInterface $output): int

Check failure on line 47 in Classes/Command/FlushCacheCommand.php

View workflow job for this annotation

GitHub Actions / build (8.1, 12)

PHPDoc tag @return with type int|null is not subtype of native type int.

Check failure on line 47 in Classes/Command/FlushCacheCommand.php

View workflow job for this annotation

GitHub Actions / build (8.2, 12)

PHPDoc tag @return with type int|null is not subtype of native type int.
{
$cacheService = GeneralUtility::makeInstance(CacheService::class);
$cacheService->flush((bool) $input->getOption('force-boost-mode-flush'));
Expand Down
Loading