Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
3.2.1
-
None
Description
Issue
- bin/console lint:container
[ERROR] Invalid definition for service "EzSystems\EzPlatformPageBuilderBundle\Controller\PageController": argument 22 of "EzSystems\EzPlatformPageBuilderBundle\Controller\PageController::__construct" accepts "JMS\Serializer\Serializer", "EzSystems\EzPlatformPageBuilder\PageBuilder\Timeline\Serializer" passed.
Possible fix
Correct class name being hinted, or hint using interface if we are agnostic.
Besides fixing this, to avoid it in the future we should setup Githib Action to lint container config.