Skip to content

Commit dd58813

Browse files
authored
Simplify the event example
1 parent 659e90a commit dd58813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ final class BookMailSubscriber implements EventSubscriberInterface
4040
public static function getSubscribedEvents()
4141
{
4242
return [
43-
KernelEvents::VIEW => [['sendMail', EventPriorities::POST_WRITE]],
43+
KernelEvents::VIEW => ['sendMail', EventPriorities::POST_WRITE],
4444
];
4545
}
4646

0 commit comments

Comments
 (0)