X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/2b55a565f43b0581c625cbc00948749d983056cc..f9a05d2199dbec989e7d53f5c983e601016846c4:/Handler/AuthenticationSuccessHandler.php?ds=inline diff --git a/Handler/AuthenticationSuccessHandler.php b/Handler/AuthenticationSuccessHandler.php index 961c1b1..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,22 +48,22 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler { /** * Options */ - protected $options; + protected array $options; /** * Router instance */ - protected $router; + protected RouterInterface $router; /** * {@inheritdoc} */ public function __construct(RouterInterface $router, array $options = []) { - //Set options - $this->setOptions($options); - //Set router $this->router = $router; + + //Set options + $this->setOptions($options); } /**