diff --git a/Mailer.php b/Mailer.php index 353a7fc..32ca7e3 100644 --- a/Mailer.php +++ b/Mailer.php @@ -101,7 +101,7 @@ class Mailer extends BaseMailer } /** - * @param array|\Swift_Transport $transport + * @param array|\Swift_Transport $transport * @throws InvalidConfigException on invalid argument. */ public function setTransport($transport) @@ -149,9 +149,9 @@ class Mailer extends BaseMailer /** * Creates email transport instance by its array configuration. - * @param array $config transport configuration. + * @param array $config transport configuration. * @throws \yii\base\InvalidConfigException on invalid transport configuration. - * @return \Swift_Transport transport instance. + * @return \Swift_Transport transport instance. */ protected function createTransport(array $config) { @@ -178,8 +178,8 @@ class Mailer extends BaseMailer /** * Creates Swift library object, from given array configuration. - * @param array $config object configuration - * @return Object created object + * @param array $config object configuration + * @return Object created object * @throws \yii\base\InvalidConfigException on invalid configuration. */ protected function createSwiftObject(array $config) diff --git a/Message.php b/Message.php index 361a021..23818bc 100644 --- a/Message.php +++ b/Message.php @@ -191,7 +191,7 @@ class Message extends BaseMessage * Sets the message body. * If body is already set and its content type matches given one, it will * be overridden, if content type miss match the multipart message will be composed. - * @param string $body body content. + * @param string $body body content. * @param string $contentType body content type. */ protected function setBody($body, $contentType)