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>2020-10-09 10:46:13 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-09 10:46:13 +0300
commitf06643da2316ce1fa3e08ede73b6c9d2887c9d96 (patch)
tree22cc3a725452f16f844ea309437c279a699e3d34 /lib/Attachment.php
parentab924cffd19e5646d04c82d21353f5c144738623 (diff)
Fix doc comment on wrong line
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Attachment.php')
-rw-r--r--lib/Attachment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Attachment.php b/lib/Attachment.php
index 1770587be..853139355 100644
--- a/lib/Attachment.php
+++ b/lib/Attachment.php
@@ -69,10 +69,10 @@ class Attachment {
// $list is an array of Horde_Imap_Client_Data_Fetch objects.
$ids = new \Horde_Imap_Client_Ids($this->messageUid);
$headers = $this->conn->fetch($this->mailBox, $fetch_query, ['ids' => $ids]);
- /** @var $fetch Horde_Imap_Client_Data_Fetch */
if (!isset($headers[$this->messageUid])) {
throw new DoesNotExistException('Unable to load the attachment.');
}
+ /** @var $fetch Horde_Imap_Client_Data_Fetch */
$fetch = $headers[$this->messageUid];
/** @var \Horde_Mime_Headers $mimeHeaders */
$mimeHeaders = $fetch->getMimeHeader($this->attachmentId, Horde_Imap_Client_Data_Fetch::HEADER_PARSE);