Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Account.php')
-rw-r--r--lib/Account.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Account.php b/lib/Account.php
index c043555e5..97ef20f6e 100644
--- a/lib/Account.php
+++ b/lib/Account.php
@@ -36,7 +36,6 @@ namespace OCA\Mail;
use Horde_Imap_Client_Exception;
use Horde_Imap_Client_Mailbox;
use Horde_Imap_Client_Socket;
-use Horde_Mail_Rfc822_List;
use Horde_Mail_Transport;
use Horde_Mail_Transport_Smtphorde;
use JsonSerializable;
@@ -208,10 +207,7 @@ class Account implements JsonSerializable {
return $sslMode;
}
- /**
- * @return string|Horde_Mail_Rfc822_List
- */
- public function getEmail() {
+ public function getEmail(): string {
return $this->account->getEmail();
}