mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
variable type for the return value is added
This commit is contained in:
parent
1ec1adf904
commit
31dbdd3677
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ class Email
|
||||||
* @return array
|
* @return array
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
public static function poll($mbox, $email_addr)
|
public static function poll($mbox, $email_addr): array
|
||||||
{
|
{
|
||||||
if (!$mbox || !$email_addr) {
|
if (!$mbox || !$email_addr) {
|
||||||
return [];
|
return [];
|
||||||
|
@ -130,7 +130,7 @@ class Email
|
||||||
* @return array
|
* @return array
|
||||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||||
*/
|
*/
|
||||||
public static function getMessage($mbox, $uid, $reply, $item)
|
public static function getMessage($mbox, $uid, $reply, $item): array
|
||||||
{
|
{
|
||||||
$ret = $item;
|
$ret = $item;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue