Test Setup Failed
Push — master ( aec174...6c550f )
by Александр
36:31
created
src/widgets/DualSelect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.