Browse Source

PHPDoc fix

tags/2.0.7
Klimov Paul 8 years ago
parent
commit
decd3ea203
  1. 2
      Mailer.php
  2. 6
      Message.php

2
Mailer.php

@ -80,7 +80,7 @@ class Mailer extends BaseMailer
*/ */
public $messageClass = 'yii\swiftmailer\Message'; public $messageClass = 'yii\swiftmailer\Message';
/** /**
* @var boolean whether to enable writing of the SwiftMailer internal logs using Yii log mechanism. * @var bool whether to enable writing of the SwiftMailer internal logs using Yii log mechanism.
* If enabled [[Logger]] plugin will be attached to the [[transport]] for this purpose. * If enabled [[Logger]] plugin will be attached to the [[transport]] for this purpose.
* @see Logger * @see Logger
*/ */

6
Message.php

@ -20,7 +20,7 @@ use yii\mail\BaseMessage;
* *
* @method Mailer getMailer() returns mailer instance. * @method Mailer getMailer() returns mailer instance.
* *
* @property integer $priority Priority value as integer in range: `1..5`, where 1 is the highest priority and * @property int $priority Priority value as integer in range: `1..5`, where 1 is the highest priority and
* 5 is the lowest. * 5 is the lowest.
* @property string $readReceiptTo Receipt receive email addresses. Note that the type of this property * @property string $readReceiptTo Receipt receive email addresses. Note that the type of this property
* differs in getter and setter. See [[getReadReceiptTo()]] and [[setReadReceiptTo()]] for details. * differs in getter and setter. See [[getReadReceiptTo()]] and [[setReadReceiptTo()]] for details.
@ -505,7 +505,7 @@ class Message extends BaseMessage
/** /**
* Set the priority of this message. * Set the priority of this message.
* @param integer $priority priority value, should be an integer in range: `1..5`, * @param int $priority priority value, should be an integer in range: `1..5`,
* where 1 is the highest priority and 5 is the lowest. * where 1 is the highest priority and 5 is the lowest.
* @return $this self reference. * @return $this self reference.
* @since 2.0.6 * @since 2.0.6
@ -518,7 +518,7 @@ class Message extends BaseMessage
/** /**
* Returns the priority of this message. * Returns the priority of this message.
* @return integer priority value as integer in range: `1..5`, * @return int priority value as integer in range: `1..5`,
* where 1 is the highest priority and 5 is the lowest. * where 1 is the highest priority and 5 is the lowest.
* @since 2.0.6 * @since 2.0.6
*/ */

Loading…
Cancel
Save