Fix documentation for UserMailer::send()
authorKunal Mehta <legoktm@gmail.com>
Tue, 22 Jul 2014 20:36:55 +0000 (13:36 -0700)
committerKunal Mehta <legoktm@gmail.com>
Tue, 22 Jul 2014 20:36:55 +0000 (13:36 -0700)
Change-Id: Ia1e793d96fa9d7c84c6b3c16090e7ffc13bf824a

includes/UserMailer.php

index 2fe9213..25be921 100644 (file)
@@ -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,