Skip to content

Commit 68164b5

Browse files
committed
minor #16242 Correct spelling & grammar in 4.4 event_dispatcher.rst (gnito-org)
This PR was merged into the 4.4 branch. Discussion ---------- Correct spelling & grammar in 4.4 event_dispatcher.rst <!-- 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 `5.x` for features of unreleased versions). --> Commits ------- b452b8b Correct spelling & grammar in 4.4 event_dispatcher.rst
2 parents 972567e + b452b8b commit 68164b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

event_dispatcher.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ Creating an Event Subscriber
141141

142142
Another way to listen to events is via an **event subscriber**, which is a class
143143
that defines one or more methods that listen to one or various events. The main
144-
difference with the event listeners is that subscribers always know which events
145-
they are listening to.
144+
difference with the event listeners is that subscribers always know the events
145+
to which they are listening.
146146

147147
If different event subscriber methods listen to the same event, their order is
148148
defined by the ``priority`` parameter. This value is a positive or negative

0 commit comments

Comments
 (0)