diff options
-rwxr-xr-x | lib/Controller/MessagesController.php | 4 |
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); |