diff --git a/htdocs/emailcollector/lib/emailcollector.lib.php b/htdocs/emailcollector/lib/emailcollector.lib.php index eef737cfc86..598d6611975 100644 --- a/htdocs/emailcollector/lib/emailcollector.lib.php +++ b/htdocs/emailcollector/lib/emailcollector.lib.php @@ -115,8 +115,8 @@ function getDParameters($part) * @param object $mbox object connection imaap * @return array type, filename, pos */ - -function getAttachments($jk, $mbox) { +function getAttachments($jk, $mbox) +{ $structure = imap_fetchstructure($mbox, $jk, FT_UID); // @phan-suppress-current-line PhanTypeMismatchArgumentInternal $parts = getParts($structure); $fpos = 2;