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>2019-12-12 17:27:03 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-12-16 12:11:39 +0300
commit59797e9ce4166c6ff65a49675d6fbf59327d2ce1 (patch)
treed20e8430d00f9aff11fb456f821c5f2da973b9fb /lib/Mailbox.php
parent12b87bf146e874725013d9c2f133550c740ca2aa (diff)
Treat MIME part IDs as strings, not ints
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Mailbox.php')
-rw-r--r--lib/Mailbox.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Mailbox.php b/lib/Mailbox.php
index c213a4f1c..4fad6cc87 100644
--- a/lib/Mailbox.php
+++ b/lib/Mailbox.php
@@ -295,10 +295,10 @@ class Mailbox implements IMailBox {
/**
* @param int $messageId
- * @param int $attachmentId
+ * @param string $attachmentId
* @return Attachment
*/
- public function getAttachment(int $messageId, int $attachmentId): Attachment {
+ public function getAttachment(int $messageId, string $attachmentId): Attachment {
return new Attachment($this->conn, $this->mailBox, $messageId, $attachmentId);
}