Skip to content

Commit 36d3677

Browse files
committed
[HttpKernel] Fix kernel.finish_request doc
1 parent f75f438 commit 36d3677

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ You can build the doc locally with these commands:
2929
# build the image...
3030
$ docker build . -t symfony-docs
3131

32-
# ...and serve it locally on http//:127.0.0.1:8080
32+
# ...and serve it locally on http://127.0.0.1:8080
3333
# (if it's already in use, change the '8080' port by any other port)
3434
$ docker run --rm -p 8080:80 symfony-docs
3535
```

reference/events.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,9 @@ their priorities:
142142

143143
**Event Class**: :class:`Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent`
144144

145-
This event is dispatched after a :ref:`sub request <http-kernel-sub-requests>`
146-
has finished. It's useful to reset the global state of the application (for
147-
example, the translator listener resets the translator's locale to the one of
148-
the parent request)::
145+
This event is dispatched after the ``kernel.response`` event. It's useful to reset
146+
the global state of the application (for example, the translator listener resets
147+
the translator's locale to the one of the parent request)::
149148

150149
public function onKernelFinishRequest(FinishRequestEvent $event)
151150
{

0 commit comments

Comments
 (0)