diff --git a/src/CoreBundle/EventListener/LegacyListener.php b/src/CoreBundle/EventListener/LegacyListener.php index 01d699cc6bc..b52183e88bc 100644 --- a/src/CoreBundle/EventListener/LegacyListener.php +++ b/src/CoreBundle/EventListener/LegacyListener.php @@ -26,6 +26,9 @@ */ class LegacyListener { + /** + * @psalm-suppress ContainerDependency + */ public function __construct( private readonly Environment $twig, private readonly TokenStorageInterface $tokenStorage,