X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/6699a79d7f3e958907a0f580e4685b95be79296c..edaded281e162f8aa78b6b329b3c9cec8fe176c0:/Handler/AuthenticationSuccessHandler.php?ds=inline diff --git a/Handler/AuthenticationSuccessHandler.php b/Handler/AuthenticationSuccessHandler.php index 579c110..11e8325 100644 --- a/Handler/AuthenticationSuccessHandler.php +++ b/Handler/AuthenticationSuccessHandler.php @@ -45,23 +45,10 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler { 'use_referer' => false, ]; - /** - * Options - */ - protected array $options; - - /** - * Router instance - */ - protected RouterInterface $router; - /** * {@inheritdoc} */ - public function __construct(RouterInterface $router, array $options = []) { - //Set router - $this->router = $router; - + public function __construct(protected RouterInterface $router, protected array $options = []) { //Set options $this->setOptions($options); }