diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-07-30 08:11:06 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-07-30 08:11:06 +0300 |
commit | 5e90a7bd0b22cc660022870d0ec9450d2459813e (patch) | |
tree | 3239a6d06b0fafc8f6e999d75cc2597b022123c5 /lib/Controller/MessagesController.php | |
parent | 10dddf8e048531f834e3736fa7bc1f099f790005 (diff) |
Fix attachment ID type inconsistency
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Controller/MessagesController.php')
-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); |