diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-08-11 22:10:49 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-08-24 21:21:40 +0300 |
commit | 9498ebac6eccde201526b9a6131a76c02ca5db62 (patch) | |
tree | 7256f1fc6de4dee185f5cc116e45247cf27f28cb /lib/Mailbox.php | |
parent | 430500712496242526eed2aedb5afc42d60ca1b9 (diff) |
Rework the routing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Mailbox.php')
-rw-r--r-- | lib/Mailbox.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Mailbox.php b/lib/Mailbox.php index 09daef680..5aecf8330 100644 --- a/lib/Mailbox.php +++ b/lib/Mailbox.php @@ -295,12 +295,13 @@ class Mailbox implements IMailBox { } /** - * @param int $messageId + * @param int $messageUid * @param string $attachmentId + * * @return Attachment */ - public function getAttachment(int $messageId, string $attachmentId): Attachment { - return new Attachment($this->conn, $this->mailBox, $messageId, $attachmentId); + public function getAttachment(int $messageUid, string $attachmentId): Attachment { + return new Attachment($this->conn, $this->mailBox, $messageUid, $attachmentId); } /** |