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-11-02 13:49:26 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-11-02 13:50:38 +0300
commit49e2f0caf809f8751ff2fc5e8befce25b4617580 (patch)
tree3bb0981b0dd187b86a336f6a70b85bb6ce0a3e46 /lib/Mailbox.php
parentea36de1a8c560d0c6460c7c79c883d8cc8dbd219 (diff)
Rename $id to $uid to prevent ambiguity:wq
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 bab88a33c..62019e11d 100644
--- a/lib/Mailbox.php
+++ b/lib/Mailbox.php
@@ -96,13 +96,13 @@ class Mailbox implements IMailBox {
}
/**
- * @param int $id
+ * @param int $uid
* @param bool $loadHtmlMessageBody
*
* @return IMAPMessage
*/
- public function getMessage(int $id, bool $loadHtmlMessageBody = false) {
- return new IMAPMessage($this->conn, $this->mailBox, $id, null, $loadHtmlMessageBody);
+ public function getMessage(int $uid, bool $loadHtmlMessageBody = false) {
+ return new IMAPMessage($this->conn, $this->mailBox, $uid, null, $loadHtmlMessageBody);
}
/**