Skip to content

Commit 24dc80c

Browse files
committed
minor #18080 Update event_dispatcher.rst (hbgamra)
This PR was submitted for the 6.3 branch but it was merged into the 5.4 branch instead. Discussion ---------- Update event_dispatcher.rst Fix bug return type <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 0f23790 Update event_dispatcher.rst
2 parents 02d4639 + 0f23790 commit 24dc80c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ listen to the same ``kernel.exception`` event::
255255

256256
class ExceptionSubscriber implements EventSubscriberInterface
257257
{
258-
public static function getSubscribedEvents()
258+
public static function getSubscribedEvents(): array
259259
{
260260
// return the subscribed events, their methods and priorities
261261
return [

0 commit comments

Comments
 (0)