@@ -43,6 +43,9 @@ |
||
43 | 43 | private $eventDispatcher; |
44 | 44 | private $redirectRoute; |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $redirectRoute |
|
48 | + */ |
|
46 | 49 | public function __construct( |
47 | 50 | Router $router, |
48 | 51 | TokenGenerator $tokenGenerator, |
@@ -3,9 +3,7 @@ discard block |
||
3 | 3 | namespace Azine\EmailUpdateConfirmationBundle\Services; |
4 | 4 | |
5 | 5 | use Azine\EmailUpdateConfirmationBundle\EventListener\FlashListener; |
6 | -use Azine\EmailUpdateConfirmationBundle\Mailer\AzineUpdateEmailMailer; |
|
7 | 6 | use FOS\UserBundle\Event\UserEvent; |
8 | -use FOS\UserBundle\FOSUserEvents; |
|
9 | 7 | use FOS\UserBundle\Mailer\MailerInterface; |
10 | 8 | use FOS\UserBundle\Model\UserInterface; |
11 | 9 | use Azine\EmailUpdateConfirmationBundle\Services\EmailEncryptionInterface; |
@@ -15,7 +13,6 @@ discard block |
||
15 | 13 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
16 | 14 | use Symfony\Component\HttpFoundation\Request; |
17 | 15 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
18 | -use Symfony\Component\Routing\RouterInterface; |
|
19 | 16 | |
20 | 17 | class EmailUpdateConfirmation implements EmailUpdateConfirmationInterface |
21 | 18 | { |