From 94ef54b22f4dd5fca8ac33dfd1b444a0a9d4b915 Mon Sep 17 00:00:00 2001 From: Perside Rosalie Date: Thu, 25 Feb 2016 14:52:24 +0100 Subject: [PATCH] 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 --- includes/mail/UserMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1