diff --git a/session/locale_sticky_session.rst b/session/locale_sticky_session.rst index b81c8e6cb3c..7ea5eb8ec05 100644 --- a/session/locale_sticky_session.rst +++ b/session/locale_sticky_session.rst @@ -145,7 +145,6 @@ event:: // src/EventSubscriber/UserLocaleSubscriber.php namespace App\EventSubscriber; - use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\Session\SessionInterface; use Symfony\Component\Security\Http\Event\InteractiveLoginEvent; use Symfony\Component\Security\Http\SecurityEvents; @@ -154,7 +153,7 @@ event:: * Stores the locale of the user in the session after the * login. This can be used by the LocaleSubscriber afterwards. */ - class UserLocaleSubscriber implements EventSubscriberInterface + class UserLocaleSubscriber { private $session;