Skip to content

Commit 5d44987

Browse files
committed
minor #4991 Fixed typo and tweaked syntax. (cdvrooman)
This PR was merged into the 2.3 branch. Discussion ---------- Fixed typo and tweaked syntax. Commits ------- 0f6e045 Fixed typo and tweaked syntax.
2 parents 3845c9c + 0f6e045 commit 5d44987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/event_dispatcher/before_after_filters.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ your listener to be called just before any controller is executed.
156156
# app/config/services.yml
157157
services:
158158
app.tokens.action_listener:
159-
class: AappBundle\EventListener\TokenListener
159+
class: AppBundle\EventListener\TokenListener
160160
arguments: ["%tokens%"]
161161
tags:
162162
- { name: kernel.event_listener, event: kernel.controller, method: onKernelController }
@@ -240,7 +240,7 @@ if it's found::
240240
$response->headers->set('X-CONTENT-HASH', $hash);
241241
}
242242

243-
Finally, a second "tag" is needed on the service definition to notify Symfony
243+
Finally, a second "tag" is needed in the service definition to notify Symfony
244244
that the ``onKernelResponse`` event should be notified for the ``kernel.response``
245245
event:
246246

0 commit comments

Comments
 (0)