]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Handler/AuthenticationFailureHandler.php
Fix constructor prototype
[userbundle] / Handler / AuthenticationFailureHandler.php
index c88e138b453b575b75a10e50cff53d99ccadbb63..c5d0ec5fd43f7adbf827dee72a2cdc41c4a4ab4e 100644 (file)
@@ -72,7 +72,7 @@ class AuthenticationFailureHandler extends DefaultAuthenticationFailureHandler {
         *
         * {@inheritdoc}
         */
         *
         * {@inheritdoc}
         */
-       public function __construct(protected HttpKernelInterface $httpKernel, protected HttpUtils $httpUtils, protected array $options, protected LoggerInterface $logger, protected ContainerInterface $container, protected ManagerRegistry $doctrine, protected MailerInterface $mailer, protected RouterInterface $router, protected SluggerUtil $slugger, protected RequestStack $stack, protected TranslatorInterface $translator) {
+       public function __construct(protected HttpKernelInterface $httpKernel, protected HttpUtils $httpUtils, protected array $options, protected ?LoggerInterface $logger, protected ContainerInterface $container, protected ManagerRegistry $doctrine, protected MailerInterface $mailer, protected RouterInterface $router, protected SluggerUtil $slugger, protected RequestStack $stack, protected TranslatorInterface $translator) {
                //Call parent constructor
                parent::__construct($httpKernel, $httpUtils, $options, $logger);
 
                //Call parent constructor
                parent::__construct($httpKernel, $httpUtils, $options, $logger);