]> Raphaël G. Git Repositories - userbundle/commitdiff
Strict types
authorRaphaël Gertz <git@rapsys.eu>
Fri, 10 Nov 2023 11:25:49 +0000 (12:25 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 10 Nov 2023 11:25:49 +0000 (12:25 +0100)
Handler/AuthenticationFailureHandler.php

index 95c5ede07b2b59722c87f3def822357a1f73831b..fea0824e0e107d9c9a59fd20260ab5045231f841 100644 (file)
@@ -38,9 +38,9 @@ class AuthenticationFailureHandler extends DefaultAuthenticationFailureHandler {
        /**
         * Config array
         */
-       protected $config;
-       protected $options;
-       protected $defaultOptions = [
+       protected array $config;
+       protected array $options;
+       protected array $defaultOptions = [
                'failure_path' => null,
                'failure_forward' => false,
                'login_path' => '/login',
@@ -50,12 +50,12 @@ class AuthenticationFailureHandler extends DefaultAuthenticationFailureHandler {
        /**
         * Router instance
         */
-       protected $router;
+       protected RouterInterface $router;
 
        /**
         * Slugger instance
         */
-       protected $slugger;
+       protected SluggerUtil $slugger;
 
        /**
         * @xxx Second argument will be replaced by security.firewalls.main.logout.target