diff --git a/cookbook/security/impersonating_user.rst b/cookbook/security/impersonating_user.rst index 48c1a9dda15..1dde8a7acfd 100644 --- a/cookbook/security/impersonating_user.rst +++ b/cookbook/security/impersonating_user.rst @@ -222,7 +222,7 @@ how to change the sticky locale: .. code-block:: php - // src/AppBundle/EventListener/SwitchUserListener.pnp + // src/AppBundle/EventListener/SwitchUserListener.php namespace AppBundle\EventListener; use Symfony\Component\Security\Http\Event\SwitchUserEvent;