From 8f26e93b207613e7ba27a19d929ae929b315589f Mon Sep 17 00:00:00 2001 From: Evgeniy Tkachenko Date: Sat, 20 Feb 2016 16:58:13 +0300 Subject: [PATCH 1/2] Update phpDoc MailerInterface::compose() --- framework/mail/MailerInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/mail/MailerInterface.php b/framework/mail/MailerInterface.php index ef7e5956b6..d730f8739c 100644 --- a/framework/mail/MailerInterface.php +++ b/framework/mail/MailerInterface.php @@ -31,7 +31,7 @@ interface MailerInterface /** * Creates a new message instance and optionally composes its body content via view rendering. * - * @param string|array $view the view to be used for rendering the message body. This can be: + * @param string|array|null $view the view to be used for rendering the message body. This can be: * * - a string, which represents the view name or path alias for rendering the HTML body of the email. * In this case, the text body will be generated by applying `strip_tags()` to the HTML body. From d804950d0931082de25a2f983c7db8270cf70436 Mon Sep 17 00:00:00 2001 From: Evgeniy Tkachenko Date: Sat, 20 Feb 2016 18:44:29 +0300 Subject: [PATCH 2/2] Update phpDoc BaseMailer::compose() --- framework/mail/BaseMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/mail/BaseMailer.php b/framework/mail/BaseMailer.php index 26f1589067..913a97b7c0 100644 --- a/framework/mail/BaseMailer.php +++ b/framework/mail/BaseMailer.php @@ -151,7 +151,7 @@ abstract class BaseMailer extends Component implements MailerInterface, ViewCont /** * Creates a new message instance and optionally composes its body content via view rendering. * - * @param string|array $view the view to be used for rendering the message body. This can be: + * @param string|array|null $view the view to be used for rendering the message body. This can be: * * - a string, which represents the view name or path alias for rendering the HTML body of the email. * In this case, the text body will be generated by applying `strip_tags()` to the HTML body.