diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-06-24 07:30:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-24 07:30:35 +0200 |
commit | cdf458722df80cfeeafab1806da1f6b9a71409d1 (patch) | |
tree | 4df7d02bebed40cc954911647409227392e7805c /src/Wallabag/UserBundle | |
parent | 8bfcb20f657e46307e08c4fda9e7cd99ba164931 (diff) | |
parent | ac5844a68e6384af447c67d9e5638795a02c9d99 (diff) | |
download | wallabag-cdf458722df80cfeeafab1806da1f6b9a71409d1.tar.gz wallabag-cdf458722df80cfeeafab1806da1f6b9a71409d1.tar.zst wallabag-cdf458722df80cfeeafab1806da1f6b9a71409d1.zip |
Merge pull request #4024 from wallabag/update-deps
Update deps
Diffstat (limited to 'src/Wallabag/UserBundle')
-rw-r--r-- | src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php index 2797efde..b25ba685 100644 --- a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php +++ b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php | |||
@@ -4,6 +4,7 @@ namespace Wallabag\UserBundle\Mailer; | |||
4 | 4 | ||
5 | use Scheb\TwoFactorBundle\Mailer\AuthCodeMailerInterface; | 5 | use Scheb\TwoFactorBundle\Mailer\AuthCodeMailerInterface; |
6 | use Scheb\TwoFactorBundle\Model\Email\TwoFactorInterface; | 6 | use Scheb\TwoFactorBundle\Model\Email\TwoFactorInterface; |
7 | use Twig\Environment; | ||
7 | 8 | ||
8 | /** | 9 | /** |
9 | * Custom mailer for TwoFactorBundle email. | 10 | * Custom mailer for TwoFactorBundle email. |
@@ -21,7 +22,7 @@ class AuthCodeMailer implements AuthCodeMailerInterface | |||
21 | /** | 22 | /** |
22 | * Twig to render the html's email. | 23 | * Twig to render the html's email. |
23 | * | 24 | * |
24 | * @var \Twig_Environment | 25 | * @var Environment |
25 | */ | 26 | */ |
26 | private $twig; | 27 | private $twig; |
27 | 28 | ||
@@ -56,14 +57,14 @@ class AuthCodeMailer implements AuthCodeMailerInterface | |||
56 | /** | 57 | /** |
57 | * Initialize the auth code mailer with the SwiftMailer object. | 58 | * Initialize the auth code mailer with the SwiftMailer object. |
58 | * | 59 | * |
59 | * @param \Swift_Mailer $mailer | 60 | * @param \Swift_Mailer $mailer |
60 | * @param \Twig_Environment $twig | 61 | * @param Environment $twig |
61 | * @param string $senderEmail | 62 | * @param string $senderEmail |
62 | * @param string $senderName | 63 | * @param string $senderName |
63 | * @param string $supportUrl wallabag support url | 64 | * @param string $supportUrl wallabag support url |
64 | * @param string $wallabagUrl wallabag instance url | 65 | * @param string $wallabagUrl wallabag instance url |
65 | */ | 66 | */ |
66 | public function __construct(\Swift_Mailer $mailer, \Twig_Environment $twig, $senderEmail, $senderName, $supportUrl, $wallabagUrl) | 67 | public function __construct(\Swift_Mailer $mailer, Environment $twig, $senderEmail, $senderName, $supportUrl, $wallabagUrl) |
67 | { | 68 | { |
68 | $this->mailer = $mailer; | 69 | $this->mailer = $mailer; |
69 | $this->twig = $twig; | 70 | $this->twig = $twig; |