From: Raphaƫl Gertz <git@rapsys.eu>
Date: Fri, 10 Nov 2023 11:25:49 +0000 (+0100)
Subject: Strict types
X-Git-Tag: 0.3.0~2
X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/a738067c613d39c9c6f43534bd0c1a38ad2f490a

Strict types
---

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