diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-09 10:46:13 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-09 10:46:13 +0300 |
commit | f06643da2316ce1fa3e08ede73b6c9d2887c9d96 (patch) | |
tree | 22cc3a725452f16f844ea309437c279a699e3d34 /lib/Attachment.php | |
parent | ab924cffd19e5646d04c82d21353f5c144738623 (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.php | 2 |
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); |