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

@ -78,10 +78,10 @@ final class RegisterU2FSubscriber implements EventSubscriberInterface
public function __construct(UrlGeneratorInterface $router, EntityManagerInterface $entityManager, SessionInterface $session, EventDispatcherInterface $eventDispatcher, bool $demo_mode)
{
/** @var Session $session */
$this->router = $router;
$this->em = $entityManager;
$this->demo_mode = $demo_mode;
/** @var Session $session */
$this->flashBag = $session->getFlashBag();
$this->eventDispatcher = $eventDispatcher;
}