Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 08b97ab

Browse files
stofondrejmirtes
authored andcommitted
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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /