From 14a6ba87a6440f82bc4f453ab8a525174b9ce112 Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Mon, 10 Jul 2023 11:36:27 +0200 Subject: [PATCH] Mail update --- include/mailhandling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;