Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
31dbdd3677
commit
acba7d25a0
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ class Email
|
|||
* @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 [];
|
||||
|
@ -130,7 +130,7 @@ class Email
|
|||
* @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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue