mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
fixed all the PHPdoc in extensions
This commit is contained in:
@ -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)
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user