]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Mail.php
Merge pull request #6989 from nupplaphil/task/basePath_baseUrl_fix
[friendica.git] / src / Model / Mail.php
index b9ed609fa1258851caadcaea61cc73256d378e09..2d304e55f8b92142544fd65781a424af44b56880 100644 (file)
@@ -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;