Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
* @return array
* @throws \Exception
*/
- public static function poll($mbox, $email_addr): array
+ public static function poll(Connection $mbox, $email_addr): array
{
if (!$mbox || !$email_addr) {
return [];
* @return array
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
- public static function getMessage($mbox, $uid, $reply, $item): array
+ public static function getMessage(Connection $mbox, $uid, $reply, $item): array
{
$ret = $item;