Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/148455

Change subject: Fix documentation for UserMailer::send()
......................................................................

Fix documentation for UserMailer::send()

Change-Id: Ia1e793d96fa9d7c84c6b3c16090e7ffc13bf824a
---
M includes/UserMailer.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/55/148455/1

diff --git a/includes/UserMailer.php b/includes/UserMailer.php
index 2fe9213..25be921 100644
--- a/includes/UserMailer.php
+++ b/includes/UserMailer.php
@@ -151,13 +151,14 @@
         * 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,

-- 
To view, visit https://gerrit.wikimedia.org/r/148455
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1e793d96fa9d7c84c6b3c16090e7ffc13bf824a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to