From 9834b07fbffb736b7e63b09838a7fbb1081ad3fd Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 22 Jul 2014 13:36:55 -0700 Subject: [PATCH] Fix documentation for UserMailer::send() Change-Id: Ia1e793d96fa9d7c84c6b3c16090e7ffc13bf824a --- includes/UserMailer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 2fe92138a7..25be921236 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -151,13 +151,14 @@ class UserMailer { * array of parameters. It requires PEAR:Mail to do that. * Otherwise it just uses the standard PHP 'mail' function. * - * @param MailAddress $to Recipient's email (or an array of them) + * @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 MailAddress $replyto Optional reply-to email (default: null). * @param string $contentType Optional custom Content-Type (default: text/plain; charset=UTF-8) * @throws MWException + * @throws Exception * @return Status */ public static function send( $to, $from, $subject, $body, $replyto = null, -- 2.20.1