From 416510b4ca19243b6b2a15205fc43e9ed174b0af Mon Sep 17 00:00:00 2001 From: Alexander Mohorev Date: Sat, 25 Oct 2014 16:35:50 +0300 Subject: [PATCH] Correct type declarations --- ActiveField.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ActiveField.php b/ActiveField.php index 9bf7ec3..ac7de5f 100644 --- a/ActiveField.php +++ b/ActiveField.php @@ -92,7 +92,7 @@ use yii\helpers\ArrayHelper; class ActiveField extends \yii\widgets\ActiveField { /** - * @var bool whether to render [[checkboxList()]] and [[radioList()]] inline. + * @var boolean whether to render [[checkboxList()]] and [[radioList()]] inline. */ public $inline = false; /** @@ -137,11 +137,11 @@ class ActiveField extends \yii\widgets\ActiveField */ public $inlineRadioListTemplate = "{label}\n{beginWrapper}\n{input}\n{error}\n{endWrapper}\n{hint}"; /** - * @var bool whether to render the error. Default is `true` except for layout `inline`. + * @var boolean whether to render the error. Default is `true` except for layout `inline`. */ public $enableError = true; /** - * @var bool whether to render the label. Default is `true`. + * @var boolean whether to render the label. Default is `true`. */ public $enableLabel = true; @@ -303,7 +303,7 @@ class ActiveField extends \yii\widgets\ActiveField } /** - * @param bool $value whether to render a inline list + * @param boolean $value whether to render a inline list * @return static the field object itself * Make sure you call this method before [[checkboxList()]] or [[radioList()]] to have any effect. */