Skip to content

Commit 08b97ab

Browse files
stofondrejmirtes
authored andcommittedMar 19, 2025
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.
1 parent dd1aaa7 commit 08b97ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎stubs/Symfony/Component/EventDispatcher/EventSubscriberInterface.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Symfony\Component\EventDispatcher;
55
interface EventSubscriberInterface
66
{
77
/**
8-
* @return array<string, string|array<string, int>|array<int, string|array<string, int>|array<int, string>>>
8+
* @return array<string, string|array{0: string, 1: int}|list<array{0: string, 1?: int}>>
99
*/
1010
public static function getSubscribedEvents();
1111
}

0 commit comments

Comments
 (0)
Failed to load comments.