Skip to content

Commit 1603463

Browse files
committed
minor #4306 Improve readability (ifdattic)
This PR was merged into the 2.3 branch. Discussion ---------- Improve readability | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | Commits ------- a715baf Improve readability
2 parents 60c0c82 + a715baf commit 1603463

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cookbook/event_dispatcher/before_after_filters.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ event listeners, you can learn more about them at :doc:`/cookbook/service_contai
125125
$controller = $event->getController();
126126

127127
/*
128-
* $controller passed can be either a class or a Closure. This is not usual in Symfony but it may happen.
128+
* $controller passed can be either a class or a Closure.
129+
* This is not usual in Symfony but it may happen.
129130
* If it is a class, it comes in array format
130131
*/
131132
if (!is_array($controller)) {
@@ -189,7 +190,7 @@ want.
189190
After Filters with the ``kernel.response`` Event
190191
------------------------------------------------
191192

192-
In addition to having a "hook" that's executed before your controller, you
193+
In addition to having a "hook" that's executed *before* your controller, you
193194
can also add a hook that's executed *after* your controller. For this example,
194195
imagine that you want to add a sha1 hash (with a salt using that token) to
195196
all responses that have passed this token authentication.

0 commit comments

Comments
 (0)