Closed
Description
Symfony version(s) affected: 4.4.0
Description
When i execute lint:container
i get this error:
$> symfony console lint:container
In CheckTypeDeclarationsPass.php line 159:
Invalid definition for service "sylius.translation.translatable_listener.doctrine.orm": argument 2 of
"Sylius\Bundle\ResourceBundle\EventListener\ORMTranslatableListener::__construct"
accepts "object", "Sylius\Component\Core\Translation\TranslatableEntityLocaleAssigner" passed.
Is it correct that service container linter has this behaviour against object
typehint?