Browse Source

Code style fix

tags/2.0.6
Klimov Paul 9 years ago
parent
commit
008ef6d1c9
  1. 2
      ToggleButtonGroup.php

2
ToggleButtonGroup.php

@ -71,7 +71,7 @@ class ToggleButtonGroup extends InputWidget
$this->options['item'] = [$this, 'renderItem'];
}
switch ($this->type) {
case 'checkbox' :
case 'checkbox':
return Html::activeCheckboxList($this->model, $this->attribute, $this->items, $this->options);
case 'radio':
return Html::activeRadioList($this->model, $this->attribute, $this->items, $this->options);

Loading…
Cancel
Save