Skip to content

Commit e442d4a

Browse files
[EventDispatcher] fix @return type on EventSubscriberInterface
1 parent 3de2cac commit e442d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EventSubscriberInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ interface EventSubscriberInterface
4343
* The code must not depend on runtime state as it will only be called at compile time.
4444
* All logic depending on runtime state must be put into the individual methods handling the events.
4545
*
46-
* @return array<string, (string|list<string,int>|list<list<string,int>>)>
46+
* @return array<string, string|array{0: string, 1: int}|list<array{0: string, 1?: int}>>
4747
*/
4848
public static function getSubscribedEvents();
4949
}

0 commit comments

Comments
 (0)