mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Fix types in doc blocks/prototypes
This commit is contained in:
parent
5ea033db33
commit
64847e7cc8
14 changed files with 91 additions and 77 deletions
|
@ -157,7 +157,7 @@ class Mail
|
|||
}
|
||||
|
||||
/**
|
||||
* @param string $recipient recipient, default empty
|
||||
* @param array $recipient recipient, default empty
|
||||
* @param string $body message body, default empty
|
||||
* @param string $subject message subject, default empty
|
||||
* @param string $replyto reply to, default empty
|
||||
|
@ -165,7 +165,7 @@ class Mail
|
|||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
public static function sendWall($recipient = '', $body = '', $subject = '', $replyto = '')
|
||||
public static function sendWall(array $recipient = [], $body = '', $subject = '', $replyto = '')
|
||||
{
|
||||
if (!$recipient) {
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue