]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Handler/AuthenticationFailureHandler.php
Strict types
[userbundle] / Handler / AuthenticationFailureHandler.php
index 95c5ede07b2b59722c87f3def822357a1f73831b..fea0824e0e107d9c9a59fd20260ab5045231f841 100644 (file)
@@ -38,9 +38,9 @@ class AuthenticationFailureHandler extends DefaultAuthenticationFailureHandler {
        /**
         * Config array
         */
        /**
         * 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',
                'failure_path' => null,
                'failure_forward' => false,
                'login_path' => '/login',
@@ -50,12 +50,12 @@ class AuthenticationFailureHandler extends DefaultAuthenticationFailureHandler {
        /**
         * Router instance
         */
        /**
         * Router instance
         */
-       protected $router;
+       protected RouterInterface $router;
 
        /**
         * Slugger instance
         */
 
        /**
         * Slugger instance
         */
-       protected $slugger;
+       protected SluggerUtil $slugger;
 
        /**
         * @xxx Second argument will be replaced by security.firewalls.main.logout.target
 
        /**
         * @xxx Second argument will be replaced by security.firewalls.main.logout.target