Completed
Pull Request — master (#2)
by Eugene
02:20
created
Services/EmailUpdateConfirmation.php 1 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.