diff options
Diffstat (limited to 'src/Wallabag/UserBundle/Mailer')
-rw-r--r-- | src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php index b25ba685..4eea444f 100644 --- a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php +++ b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php | |||
@@ -57,12 +57,10 @@ class AuthCodeMailer implements AuthCodeMailerInterface | |||
57 | /** | 57 | /** |
58 | * Initialize the auth code mailer with the SwiftMailer object. | 58 | * Initialize the auth code mailer with the SwiftMailer object. |
59 | * | 59 | * |
60 | * @param \Swift_Mailer $mailer | 60 | * @param string $senderEmail |
61 | * @param Environment $twig | 61 | * @param string $senderName |
62 | * @param string $senderEmail | 62 | * @param string $supportUrl wallabag support url |
63 | * @param string $senderName | 63 | * @param string $wallabagUrl wallabag instance url |
64 | * @param string $supportUrl wallabag support url | ||
65 | * @param string $wallabagUrl wallabag instance url | ||
66 | */ | 64 | */ |
67 | public function __construct(\Swift_Mailer $mailer, Environment $twig, $senderEmail, $senderName, $supportUrl, $wallabagUrl) | 65 | public function __construct(\Swift_Mailer $mailer, Environment $twig, $senderEmail, $senderName, $supportUrl, $wallabagUrl) |
68 | { | 66 | { |
@@ -76,8 +74,6 @@ class AuthCodeMailer implements AuthCodeMailerInterface | |||
76 | 74 | ||
77 | /** | 75 | /** |
78 | * Send the auth code to the user via email. | 76 | * Send the auth code to the user via email. |
79 | * | ||
80 | * @param TwoFactorInterface $user | ||
81 | */ | 77 | */ |
82 | public function sendAuthCode(TwoFactorInterface $user): void | 78 | public function sendAuthCode(TwoFactorInterface $user): void |
83 | { | 79 | { |