From b1e060d267bef3555be4bee812066c7191031de3 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Thu, 3 Jan 2019 18:01:54 +0100 Subject: [PATCH] Fix type for UserMailer::send $body param It is documented to be an array, so add it to the type Change-Id: I92c56fd92f2c09f75d9370aab711b7446c31beb5 --- includes/mail/UserMailer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/mail/UserMailer.php b/includes/mail/UserMailer.php index f348c5bb4e..63a3eb03eb 100644 --- a/includes/mail/UserMailer.php +++ b/includes/mail/UserMailer.php @@ -102,7 +102,7 @@ class UserMailer { * @param MailAddress|MailAddress[] $to Recipient's email (or an array of them) * @param MailAddress $from Sender's email * @param string $subject Email's subject. - * @param string $body Email's text or Array of two strings to be the text and html bodies + * @param string|string[] $body Email's text or Array of two strings to be the text and html bodies * @param array $options Keys: * 'replyTo' MailAddress * 'contentType' string default 'text/plain; charset=UTF-8' @@ -225,7 +225,7 @@ class UserMailer { * @param MailAddress[] $to Array of recipients' email addresses * @param MailAddress $from Sender's email * @param string $subject Email's subject. - * @param string $body Email's text or Array of two strings to be the text and html bodies + * @param string|string[] $body Email's text or Array of two strings to be the text and html bodies * @param array $options Keys: * 'replyTo' MailAddress * 'contentType' string default 'text/plain; charset=UTF-8' -- 2.20.1