From: Perside Rosalie Date: Thu, 25 Feb 2016 13:52:24 +0000 (+0100) Subject: Updating docs for UserMailer::sendWithPear() which calls $mailer->send() X-Git-Tag: 1.31.0-rc.0~7833^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=94ef54b22f4dd5fca8ac33dfd1b444a0a9d4b915;p=lhc%2Fweb%2Fwiklou.git Updating docs for UserMailer::sendWithPear() which calls $mailer->send() $mailer->send() call in UserMailer::sendWithPear() which is correct. $mailer is an instance of Mail_smtp not UserMailer so the arguments passed to the send() method are correct. The docs have been updated appropriately. Bug: T68673 Change-Id: Ia85f957c60f4dafd3f450cda469b70bdcc166a8f --- diff --git a/includes/mail/UserMailer.php b/includes/mail/UserMailer.php index 983f42c636..5343b2c703 100644 --- a/includes/mail/UserMailer.php +++ b/includes/mail/UserMailer.php @@ -33,7 +33,7 @@ class UserMailer { /** * Send mail using a PEAR mailer * - * @param UserMailer $mailer + * @param Mail_smtp $mailer * @param string $dest * @param string $headers * @param string $body