Completed
Pull Request — master (#2)
by Eugene
01:49
created
Services/EmailUpdateConfirmation.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,6 +60,10 @@  discard block
 block discarded – undo
60 60
      */
61 61
     private $redirectRoute;
62 62
 
63
+    /**
64
+     * @param string $redirectRoute
65
+     * @param string $mode
66
+     */
63 67
     public function __construct(
64 68
         Router $router,
65 69
         TokenGenerator $tokenGenerator,
@@ -85,7 +89,7 @@  discard block
 block discarded – undo
85 89
     /**
86 90
      * Get $mailer.
87 91
      *
88
-     * @return MailerInterface
92
+     * @return EmailUpdateConfirmationMailerInterface
89 93
      */
90 94
     public function getMailer()
91 95
     {
Please login to merge, or discard this patch.