From: Michael Date: Sun, 6 Mar 2022 12:21:27 +0000 (+0000) Subject: variable type for the return value is added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=31dbdd36771aea90e4330132db335a7238a45790;p=friendica.git variable type for the return value is added --- diff --git a/src/Protocol/Email.php b/src/Protocol/Email.php index 22d8aca235..f3a3736ad3 100644 --- a/src/Protocol/Email.php +++ b/src/Protocol/Email.php @@ -68,7 +68,7 @@ class Email * @return array * @throws \Exception */ - public static function poll($mbox, $email_addr) + public static function poll($mbox, $email_addr): array { if (!$mbox || !$email_addr) { return []; @@ -130,7 +130,7 @@ class Email * @return array * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ - public static function getMessage($mbox, $uid, $reply, $item) + public static function getMessage($mbox, $uid, $reply, $item): array { $ret = $item;