diff --git a/include/mailhandling.php b/include/mailhandling.php index 3a5e959..a1fce2f 100644 --- a/include/mailhandling.php +++ b/include/mailhandling.php @@ -11,7 +11,7 @@ class Mailhandling extends Renderer { } } - protected function fetchEmail(array &$content): PhpImap\IncomingMail { + protected function fetchEmail(): PhpImap\IncomingMail { $mailsIds = $this->mbox->searchMailbox('ALL'); $mail = $this->mbox->getMail($mailsIds[0]); //$this->uid, false); return $mail;