Closed kanow closed 7 months ago
Ah, I see it's already fixed in the master branch. Is fixed in version 8.x. Maybe also version 7.x can be fixed? It seems to me that dependencies are not correct in that version.
I don't plan to support the 7.x branch, just patch it yourself or update
Ok, did it.
Bug Report
Current Behavior Flush cache in cli shows an error:
PHP Fatal error: Declaration of FriendsOfTYPO3\TtAddress\Command\GeocodeCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in /app/vendor/friendsoftypo3/tt-address/Classes/Command/GeocodeCommand.php on line 47
Expected behavior/output No error and "Cache flushed" message
Environment
Possible Solution Can be fixed in line 47 of
FriendsOfTYPO3\TtAddress\Command\GeocodeCommand.php
just adding that missing
: int
protected function execute(InputInterface $input, OutputInterface $output): int