From 935e2c94f01e0328cf44ebed8f8b51984fa65132 Mon Sep 17 00:00:00 2001 From: Paul Klimov Date: Thu, 7 Nov 2013 12:22:24 +0200 Subject: [PATCH] 'yii\mail\MessageInterface' methods renamed: 'text' to 'textBody', 'html' to 'htmlBody' --- yii/swiftmailer/Message.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yii/swiftmailer/Message.php b/yii/swiftmailer/Message.php index b8813f5..8997695 100644 --- a/yii/swiftmailer/Message.php +++ b/yii/swiftmailer/Message.php @@ -97,7 +97,7 @@ class Message extends BaseMessage /** * @inheritdoc */ - public function text($text) + public function textBody($text) { $this->setBody($text, 'text/plain'); return $this; @@ -106,7 +106,7 @@ class Message extends BaseMessage /** * @inheritdoc */ - public function html($html) + public function htmlBody($html) { $this->setBody($html, 'text/html'); return $this;