@@ -82,6 +82,7 @@ |
||
82 | 82 | /** |
83 | 83 | * @param string$message |
84 | 84 | * @param array $params |
85 | + * @param string $message |
|
85 | 86 | * |
86 | 87 | * @return string |
87 | 88 | */ |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Azine\EmailUpdateConfirmationBundle\EventListener; |
4 | 4 | |
5 | -use FOS\UserBundle\FOSUserEvents; |
|
6 | 5 | use Symfony\Component\EventDispatcher\Event; |
7 | 6 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
8 | 7 | use Symfony\Component\HttpFoundation\Session\Session; |
@@ -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 | { |