diff --git a/docs/guide-ru/README.md b/docs/guide-ru/README.md index a0a6aeec43..f0edaadd54 100644 --- a/docs/guide-ru/README.md +++ b/docs/guide-ru/README.md @@ -112,7 +112,7 @@ All Rights Reserved. * [Аутентификация](security-authentication.md) * [Авторизация](security-authorization.md) * [Работа с паролями](security-passwords.md) -* [Клиенты авторизации](https://github.com/yiisoft/yii2-authclient/blob/master/docs/guide/README.md) +* [Клиенты авторизации](https://github.com/yiisoft/yii2-authclient/blob/master/docs/guide-ru/README.md) * [Лучшие практики](security-best-practices.md) 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. 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.