]> Raphaël G. Git Repositories - userbundle/commitdiff
Strict types
authorRaphaël Gertz <git@rapsys.eu>
Fri, 10 Nov 2023 11:26:11 +0000 (12:26 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Fri, 10 Nov 2023 11:26:11 +0000 (12:26 +0100)
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}