forked from mirror/Part-DB.Part-DB-server
Fixed PHPStan issue.
This commit is contained in:
parent
1b06203ca6
commit
7de2137370
2 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,7 @@ use App\Entity\LogSystem\UserLoginLogEntry;
|
|||
use App\Entity\UserSystem\User;
|
||||
use App\Services\LogSystem\EventLogger;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use Symfony\Component\HttpFoundation\Session\Session;
|
||||
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
||||
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
|
||||
use Symfony\Component\Security\Http\SecurityEvents;
|
||||
|
@ -64,6 +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 */
|
||||
$this->flashBag = $session->getFlashBag();
|
||||
$this->eventLogger = $eventLogger;
|
||||
$this->gpdr_compliance = $gpdr_compliance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue