From 9d67504d76d97ca92cfc5d20d94b1f1aa0b28784 Mon Sep 17 00:00:00 2001 From: Jack Phoenix Date: Mon, 19 Jan 2009 18:55:14 +0000 Subject: [PATCH] tweak UserMailer.php documentation. $replyto must be a MailAddress object and not a string or otherwise you'll get fatal errors like this: Fatal error: Call to a member function toString() on a non-object in ../includes/UserMailer.php on line 142 --- includes/UserMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/UserMailer.php b/includes/UserMailer.php index bd4cd6e7f5..831f53b8d4 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -101,7 +101,7 @@ class UserMailer { * @param $from MailAddress: sender's email * @param $subject String: email's subject. * @param $body String: email's text. - * @param $replyto String: optional reply-to email (default: null). + * @param $replyto MailAddress: optional reply-to email (default: null). * @param $contentType String: optional custom Content-Type * @return mixed True on success, a WikiError object on failure. */ -- 2.20.1