Fixed PHPStan issues.

This commit is contained in:
Jan Böhmer 2020-06-07 16:33:31 +02:00
parent b3a459bdc0
commit 90d3032924
4 changed files with 4 additions and 4 deletions

View file

@ -64,8 +64,8 @@ final class LoginSuccessSubscriber implements EventSubscriberInterface
public function __construct(TranslatorInterface $translator, SessionInterface $session, EventLogger $eventLogger, bool $gpdr_compliance)
{
$this->translator = $translator;
/** @var Session $session */
$this->translator = $translator;
$this->flashBag = $session->getFlashBag();
$this->eventLogger = $eventLogger;
$this->gpdr_compliance = $gpdr_compliance;