From 688d0b072f56c2126202e14cdfa13d13c0a157b7 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 19 Mar 2025 12:54:42 +0100 Subject: [PATCH] Synchronize the EventSubscriberInterface with the upstream type As of Symfony 5.4, Symfony ships a precise type for this interface but the stub overrides it. --- .../Component/EventDispatcher/EventSubscriberInterface.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/Symfony/Component/EventDispatcher/EventSubscriberInterface.stub b/stubs/Symfony/Component/EventDispatcher/EventSubscriberInterface.stub index 35a77c93..62474d10 100644 --- a/stubs/Symfony/Component/EventDispatcher/EventSubscriberInterface.stub +++ b/stubs/Symfony/Component/EventDispatcher/EventSubscriberInterface.stub @@ -5,7 +5,7 @@ namespace Symfony\Component\EventDispatcher; interface EventSubscriberInterface { /** - * @return array|array|array>> + * @return array> */ public static function getSubscribedEvents(); }