@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | $this->options['multiple'] = true; |
79 | 79 | |
80 | - $items = (array) $this->model->{$this->attribute}; |
|
80 | + $items = (array)$this->model->{$this->attribute}; |
|
81 | 81 | $selectedItems = []; |
82 | 82 | if ($items) { |
83 | 83 | foreach ($items as $value) |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | } |
87 | 87 | } |
88 | 88 | |
89 | - $element = Html::activeListBox($this->model, $this->attribute, (array) $selectedItems, $this->options); |
|
89 | + $element = Html::activeListBox($this->model, $this->attribute, (array)$selectedItems, $this->options); |
|
90 | 90 | |
91 | 91 | echo $this->render('dual-select', [ |
92 | 92 | 'element' => $element, |