From: Raphaƫl Gertz Date: Fri, 10 Nov 2023 11:26:11 +0000 (+0100) Subject: Strict types X-Git-Tag: 0.3.0~1 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/6699a79d7f3e958907a0f580e4685b95be79296c Strict types --- diff --git a/Handler/AuthenticationSuccessHandler.php b/Handler/AuthenticationSuccessHandler.php index 90d53d7..579c110 100644 --- a/Handler/AuthenticationSuccessHandler.php +++ b/Handler/AuthenticationSuccessHandler.php @@ -37,7 +37,7 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler { /** * Default options */ - protected $defaultOptions = [ + protected array $defaultOptions = [ 'always_use_default_target_path' => false, 'default_target_path' => '/', 'login_path' => '/login', @@ -48,12 +48,12 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler { /** * Options */ - protected $options; + protected array $options; /** * Router instance */ - protected $router; + protected RouterInterface $router; /** * {@inheritdoc}