Commit 416510b4 authored by Alexander Mohorev's avatar Alexander Mohorev

Correct type declarations

parent c5b60076
...@@ -92,7 +92,7 @@ use yii\helpers\ArrayHelper; ...@@ -92,7 +92,7 @@ use yii\helpers\ArrayHelper;
class ActiveField extends \yii\widgets\ActiveField 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; public $inline = false;
/** /**
...@@ -137,11 +137,11 @@ class ActiveField extends \yii\widgets\ActiveField ...@@ -137,11 +137,11 @@ class ActiveField extends \yii\widgets\ActiveField
*/ */
public $inlineRadioListTemplate = "{label}\n{beginWrapper}\n{input}\n{error}\n{endWrapper}\n{hint}"; 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; 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; public $enableLabel = true;
...@@ -303,7 +303,7 @@ class ActiveField extends \yii\widgets\ActiveField ...@@ -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 * @return static the field object itself
* Make sure you call this method before [[checkboxList()]] or [[radioList()]] to have any effect. * Make sure you call this method before [[checkboxList()]] or [[radioList()]] to have any effect.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment