Skip to content

Commit de06f6b

Browse files
committed
merged branch yegeniy/patch-2 (PR symfony#629)
Commits ------- 23dbdf0 Two typos in "Handling Requests" subsection. Discussion ---------- Two typos in "Handling Requests" subsection. listener -> listeners change -> changes added comma
2 parents 8721c90 + 23dbdf0 commit de06f6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/internals.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ chain of Event notifications (see the next section for more information about
151151
each Event):
152152

153153
1. Before doing anything else, the ``kernel.request`` event is notified -- if
154-
one of the listener returns a ``Response``, it jumps to step 8 directly;
154+
one of the listeners returns a ``Response``, it jumps to step 8 directly;
155155

156156
2. The Resolver is called to determine the Controller to execute;
157157

@@ -173,8 +173,8 @@ each Event):
173173
9. The Response is returned.
174174

175175
If an Exception is thrown during processing, the ``kernel.exception`` is
176-
notified and listeners are given a change to convert the Exception to a
177-
Response. If that works, the ``kernel.response`` event is notified; if not the
176+
notified and listeners are given a chance to convert the Exception to a
177+
Response. If that works, the ``kernel.response`` event is notified; if not, the
178178
Exception is re-thrown.
179179

180180
If you don't want Exceptions to be caught (for embedded requests for

0 commit comments

Comments
 (0)