Skip to content

Commit 0f23790

Browse files
hbgamrajaviereguiluz
authored andcommitted
Update event_dispatcher.rst
Fix bug return type
1 parent 02d4639 commit 0f23790

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)