@@ -40,6 +40,9 @@ discard block |
||
| 40 | 40 | private $eventDispatcher; |
| 41 | 41 | private $redirectRoute; |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param string $redirectRoute |
|
| 45 | + */ |
|
| 43 | 46 | public function __construct( |
| 44 | 47 | Router $router, |
| 45 | 48 | TokenGenerator $tokenGenerator, |
@@ -59,7 +62,7 @@ discard block |
||
| 59 | 62 | /** |
| 60 | 63 | * Get $mailer. |
| 61 | 64 | * |
| 62 | - * @return MailerInterface |
|
| 65 | + * @return EmailUpdateConfirmationMailerInterface |
|
| 63 | 66 | */ |
| 64 | 67 | public function getMailer() |
| 65 | 68 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Azine\EmailUpdateConfirmationBundle\Services; |
| 4 | 4 | |
| 5 | 5 | use Azine\EmailUpdateConfirmationBundle\AzineEmailUpdateConfirmationEvents; |
| 6 | -use Azine\EmailUpdateConfirmationBundle\EventListener\FlashListener; |
|
| 7 | 6 | use Azine\EmailUpdateConfirmationBundle\Mailer\EmailUpdateConfirmationMailerInterface; |
| 8 | 7 | use FOS\UserBundle\Event\UserEvent; |
| 9 | 8 | use FOS\UserBundle\Mailer\MailerInterface; |