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>2018-07-30 08:11:06 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-07-30 08:11:06 +0300
commit5e90a7bd0b22cc660022870d0ec9450d2459813e (patch)
tree3239a6d06b0fafc8f6e999d75cc2597b022123c5 /lib/Controller/MessagesController.php
parent10dddf8e048531f834e3736fa7bc1f099f790005 (diff)
Fix attachment ID type inconsistency
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Controller/MessagesController.php')
-rwxr-xr-xlib/Controller/MessagesController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/MessagesController.php b/lib/Controller/MessagesController.php
index 18eb20344..57d1ad0cc 100755
--- a/lib/Controller/MessagesController.php
+++ b/lib/Controller/MessagesController.php
@@ -253,11 +253,11 @@ class MessagesController extends Controller {
* @param int $accountId
* @param string $folderId
* @param int $messageId
- * @param string $attachmentId
+ * @param int $attachmentId
* @return AttachmentDownloadResponse
*/
public function downloadAttachment(int $accountId, string $folderId, int $messageId,
- string $attachmentId) {
+ int $attachmentId) {
$mailBox = $this->getFolder($accountId, $folderId);
$attachment = $mailBox->getAttachment($messageId, $attachmentId);