mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-08 09:24:32 +02:00
Use typed properties
This commit is contained in:
parent
548ec2ea50
commit
51e05a8669
216 changed files with 603 additions and 698 deletions
|
@ -44,6 +44,7 @@ namespace App\EventSubscriber\UserSystem;
|
|||
|
||||
use App\Entity\UserSystem\User;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface;
|
||||
use Symfony\Component\HttpFoundation\Session\Session;
|
||||
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
||||
use Symfony\Component\HttpKernel\Event\RequestEvent;
|
||||
|
@ -74,9 +75,9 @@ final class PasswordChangeNeededSubscriber implements EventSubscriberInterface
|
|||
* @var string The route the user will redirected to, if he needs to change this password
|
||||
*/
|
||||
public const REDIRECT_TARGET = 'user_settings';
|
||||
private $security;
|
||||
private $flashBag;
|
||||
private $httpUtils;
|
||||
private Security $security;
|
||||
private FlashBagInterface $flashBag;
|
||||
private HttpUtils $httpUtils;
|
||||
|
||||
public function __construct(Security $security, SessionInterface $session, HttpUtils $httpUtils)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue