diff --git a/ActiveField.php b/ActiveField.php index 35e1db8..6c026c0 100644 --- a/ActiveField.php +++ b/ActiveField.php @@ -207,8 +207,7 @@ class ActiveField extends \yii\widgets\ActiveField $this->labelOptions['class'] = null; } - parent::checkbox($options, false); - return $this; + return parent::checkbox($options, false); } /** @@ -230,8 +229,7 @@ class ActiveField extends \yii\widgets\ActiveField $this->labelOptions['class'] = null; } - parent::radio($options, false); - return $this; + return parent::radio($options, false); } /**