From 5e90a7bd0b22cc660022870d0ec9450d2459813e Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 30 Jul 2018 07:11:06 +0200 Subject: Fix attachment ID type inconsistency Signed-off-by: Christoph Wurst --- lib/Controller/MessagesController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Controller/MessagesController.php') 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); -- cgit v1.2.3