Commit 848cabc
committed
minor #7447 [DependencyInjection][Fix] Missing RequestStack (20uf)
This PR was merged into the 3.2 branch.
Discussion
----------
[DependencyInjection][Fix] Missing RequestStack
Hello,
Since the 2.8 the RouterListener object needs the RequestStack object for the second argument.
It was optional until version 3.0, eg:
- http://api.symfony.com/2.8/Symfony/Component/HttpKernel/EventListener/RouterListener.html
- http://api.symfony.com/3.0/Symfony/Component/HttpKernel/EventListener/RouterListener.html
As you can see, it lacks in the following example and causes a significant error:
- http://symfony.com/doc/current/create_framework/dependency_injection.html
Regards,
Commits
-------
823b3b0 [DependencyInjection][Fix] Missing RequestStack1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments