* @return array
* @throws \Exception
*/
- public static function poll($mbox, $email_addr)
+ public static function poll($mbox, $email_addr): array
{
if (!$mbox || !$email_addr) {
return [];
* @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;