]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Handler/AuthenticationSuccessHandler.php
Cleanup flash messages
[userbundle] / Handler / AuthenticationSuccessHandler.php
index 90d53d74051b6a89d6e81fa367854630dbd2eeff..579c11029151c8e53436e408e60d318db54f0cd9 100644 (file)
@@ -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}