diff --git a/Mailer.php b/Mailer.php index 5c06844..3275511 100644 --- a/Mailer.php +++ b/Mailer.php @@ -80,7 +80,7 @@ class Mailer extends BaseMailer */ 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. * @see Logger */ diff --git a/Message.php b/Message.php index 7b0eaab..9d343ec 100644 --- a/Message.php +++ b/Message.php @@ -20,7 +20,7 @@ use yii\mail\BaseMessage; * * @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. * @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. @@ -505,7 +505,7 @@ class Message extends BaseMessage /** * 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. * @return $this self reference. * @since 2.0.6 @@ -518,7 +518,7 @@ class Message extends BaseMessage /** * 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. * @since 2.0.6 */