Skip to content

Commit 4875087

Browse files
authored
Merge pull request #384 from NielBuys/v2
Nextcloud 31 compatibility
2 parents c8aeb09 + b6b7ba3 commit 4875087

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

appinfo/info.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<id>twofactor_email</id>
44
<version>2.7.4</version>
55
<dependencies>
6-
<nextcloud min-version="24" max-version="29" />
7-
<php min-version="8.0" max-version="8.3" />
6+
<nextcloud min-version="24" max-version="31" />
7+
<php min-version="8.0" max-version="8.4" />
88
</dependencies>
99
<repository type="git">https://github.com/nursoda/twofactor_email.git</repository>
1010
<licence>agpl</licence>

lib/Service/Email.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
use OCP\Defaults;
88
use OCP\IL10N;
9-
use OCP\ILogger;
9+
use Psr\Log\LoggerInterface;
1010
use OCP\IUser;
1111
use OCP\Mail\IMailer;
1212

@@ -17,15 +17,15 @@ class Email {
1717
/** @var IL10N */
1818
private $l10n;
1919

20-
/** @var ILogger */
20+
/** @var LoggerInterface */
2121
private $logger;
2222

2323
/** @var Defaults */
2424
private $themingDefaults;
2525

2626
public function __construct(IMailer $mailer,
2727
IL10N $l10n,
28-
ILogger $logger,
28+
LoggerInterface $logger,
2929
Defaults $themingDefaults) {
3030
$this->mailer = $mailer;
3131
$this->l10n = $l10n;

0 commit comments

Comments
 (0)