Skip to content

Commit cedeaa5

Browse files
committed
Merge branch '2.3' into 2.7
* 2.3: unused use instructions Fix typo in SwitchUserListener file name Changed folder name to lowercase (best practises)
2 parents 66051f7 + 2c000cd commit cedeaa5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cookbook/event_dispatcher/event_listener.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ listen to the same ``kernel.exception`` event::
141141
namespace AppBundle\EventSubscriber;
142142

143143
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
144-
use Symfony\Component\HttpFoundation\Response;
145144
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
146-
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
147145

148146
class ExceptionSubscriber implements EventSubscriberInterface
149147
{

cookbook/security/impersonating_user.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ how to change the sticky locale:
224224

225225
.. code-block:: php
226226
227-
// src/AppBundle/EventListener/SwitchUserListener.pnp
227+
// src/AppBundle/EventListener/SwitchUserListener.php
228228
namespace AppBundle\EventListener;
229229
230230
use Symfony\Component\Security\Http\Event\SwitchUserEvent;

0 commit comments

Comments
 (0)