From cc86a54c80325cb324623d1ace3131148f0b4c77 Mon Sep 17 00:00:00 2001 From: Hank G Date: Wed, 22 Mar 2023 21:35:44 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Hypolite Petovan --- src/Model/Mail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/Mail.php b/src/Model/Mail.php index ea67394ed8..a6cb8a0780 100644 --- a/src/Model/Mail.php +++ b/src/Model/Mail.php @@ -117,7 +117,7 @@ class Mail /** * Send private message * - * @param integer $sender_uid the user id of the sender, default 0 + * @param integer $sender_uid the user id of the sender * @param integer $recipient recipient id, default 0 * @param string $body message body, default empty * @param string $subject message subject, default empty @@ -125,7 +125,7 @@ class Mail * @return int * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ - public static function send(int $sender_uid = 0, int $recipient = 0, string $body = '', string $subject = '', string $replyto = ''): int + public static function send(int $sender_uid, int $recipient = 0, string $body = '', string $subject = '', string $replyto = ''): int { $a = DI::app();