diff --git a/src/EventSubscriber/UserSystem/LoginSuccessSubscriber.php b/src/EventSubscriber/UserSystem/LoginSuccessSubscriber.php index a40d2729..6c05379a 100644 --- a/src/EventSubscriber/UserSystem/LoginSuccessSubscriber.php +++ b/src/EventSubscriber/UserSystem/LoginSuccessSubscriber.php @@ -65,7 +65,7 @@ final class LoginSuccessSubscriber implements EventSubscriberInterface public function __construct(TranslatorInterface $translator, SessionInterface $session, EventLogger $eventLogger, bool $gpdr_compliance) { $this->translator = $translator; - /** @var $session Session */ + /** @var Session $session */ $this->flashBag = $session->getFlashBag(); $this->eventLogger = $eventLogger; $this->gpdr_compliance = $gpdr_compliance; diff --git a/src/EventSubscriber/UserSystem/PasswordChangeNeededSubscriber.php b/src/EventSubscriber/UserSystem/PasswordChangeNeededSubscriber.php index 1b50a953..fea87081 100644 --- a/src/EventSubscriber/UserSystem/PasswordChangeNeededSubscriber.php +++ b/src/EventSubscriber/UserSystem/PasswordChangeNeededSubscriber.php @@ -82,7 +82,7 @@ final class PasswordChangeNeededSubscriber implements EventSubscriberInterface public function __construct(Security $security, SessionInterface $session, HttpUtils $httpUtils) { $this->security = $security; - /** @var $session Session */ + /** @var Session $session */ $this->flashBag = $session->getFlashBag(); $this->httpUtils = $httpUtils; } diff --git a/src/EventSubscriber/UserSystem/RegisterU2FSubscriber.php b/src/EventSubscriber/UserSystem/RegisterU2FSubscriber.php index 6fecf023..c34bc533 100644 --- a/src/EventSubscriber/UserSystem/RegisterU2FSubscriber.php +++ b/src/EventSubscriber/UserSystem/RegisterU2FSubscriber.php @@ -52,6 +52,7 @@ use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface; +use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\SessionInterface; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Contracts\EventDispatcher\EventDispatcherInterface; @@ -80,6 +81,7 @@ final class RegisterU2FSubscriber implements EventSubscriberInterface $this->router = $router; $this->em = $entityManager; $this->demo_mode = $demo_mode; + /** @var Session $session */ $this->flashBag = $session->getFlashBag(); $this->eventDispatcher = $eventDispatcher; }