Completed
Pull Request — master (#2)
by Eugene
02:20
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   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,10 @@  discard block
 block discarded – undo
41 41
     private $eventDispatcher;
42 42
     private $redirectRoute;
43 43
 
44
+    /**
45
+     * @param string $redirectRoute
46
+     * @param string $mode
47
+     */
44 48
     public function __construct(
45 49
         Router $router,
46 50
         TokenGenerator $tokenGenerator,
@@ -66,7 +70,7 @@  discard block
 block discarded – undo
66 70
     /**
67 71
      * Get $mailer.
68 72
      *
69
-     * @return MailerInterface
73
+     * @return EmailUpdateConfirmationMailerInterface
70 74
      */
71 75
     public function getMailer()
72 76
     {
@@ -151,6 +155,8 @@  discard block
 block discarded – undo
151 155
     /**
152 156
      * Encrypt email value with specified user confirmation token.
153 157
      *
158
+     * @param string|null $userConfirmationToken
159
+     * @param string $email
154 160
      * @return string Encrypted email
155 161
      */
156 162
     public function encryptEmailValue($userConfirmationToken, $email)
Please login to merge, or discard this patch.