From: Raphaƫl Gertz Date: Thu, 12 Aug 2021 11:37:35 +0000 (+0200) Subject: Cleanup X-Git-Tag: 0.2.0~49 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/a410610ad184292cb2df65cc0dfb052470d2a69d Cleanup --- diff --git a/Handler/AuthenticationSuccessHandler.php b/Handler/AuthenticationSuccessHandler.php index 961c1b1..90d53d7 100644 --- a/Handler/AuthenticationSuccessHandler.php +++ b/Handler/AuthenticationSuccessHandler.php @@ -59,11 +59,11 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler { * {@inheritdoc} */ public function __construct(RouterInterface $router, array $options = []) { - //Set options - $this->setOptions($options); - //Set router $this->router = $router; + + //Set options + $this->setOptions($options); } /**