From a738067c613d39c9c6f43534bd0c1a38ad2f490a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Fri, 10 Nov 2023 12:25:49 +0100 Subject: [PATCH] Strict types --- Handler/AuthenticationFailureHandler.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Handler/AuthenticationFailureHandler.php b/Handler/AuthenticationFailureHandler.php index 95c5ede..fea0824 100644 --- a/Handler/AuthenticationFailureHandler.php +++ b/Handler/AuthenticationFailureHandler.php @@ -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 -- 2.41.0