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:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-08 16:09:16 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-08 16:36:42 +0300
commit7143b9cb687ca75b3be2654d1fe59bff92f24af8 (patch)
tree9bed28d0e3c93908b6fbccaff335e93bc43a95b2 /lib/Mailbox.php
parent5babccec005f665558fc2b8aab669bd8ea27c166 (diff)
Fix psalm errors
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Mailbox.php')
-rw-r--r--lib/Mailbox.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Mailbox.php b/lib/Mailbox.php
index 5aecf8330..bab88a33c 100644
--- a/lib/Mailbox.php
+++ b/lib/Mailbox.php
@@ -96,13 +96,13 @@ class Mailbox implements IMailBox {
}
/**
- * @param int $messageId
+ * @param int $id
* @param bool $loadHtmlMessageBody
*
* @return IMAPMessage
*/
- public function getMessage(int $messageId, bool $loadHtmlMessageBody = false) {
- return new IMAPMessage($this->conn, $this->mailBox, $messageId, null, $loadHtmlMessageBody);
+ public function getMessage(int $id, bool $loadHtmlMessageBody = false) {
+ return new IMAPMessage($this->conn, $this->mailBox, $id, null, $loadHtmlMessageBody);
}
/**