/**
         * Default options
         */
-    protected $defaultOptions = [
+    protected array $defaultOptions = [
         'always_use_default_target_path' => false,
         'default_target_path' => '/',
         'login_path' => '/login',
        /**
         * Options
         */
-    protected $options;
+    protected array $options;
 
        /**
         * Router instance
         */
-       protected $router;
+       protected RouterInterface $router;
 
        /**
         * {@inheritdoc}