Test Setup Failed
Push — master ( 15dee0...f8bd09 )
by Александр
35:37
created
src/widgets/GridView.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
                                         'hiddenLabel' => \Yii::t('skeeks/cms', 'Hidden columns'),
94 94
                                     ],
95 95
                                     //'multiple'        => true,
96
-                                    'on beforeRender' => function ($e) {
96
+                                    'on beforeRender' => function($e) {
97 97
                                         /**
98 98
                                          * @var $gridView GridView
99 99
                                          */
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
                         ['caption', 'string'],
132 132
                     ],
133 133
                 ],
134
-            ], (array) $this->configBehaviorData),
134
+            ], (array)$this->configBehaviorData),
135 135
         ]);
136 136
     }
137 137
 
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
                 }
177 177
 
178 178
                 if ($result && in_array($label, array_values($result))) {
179
-                    $result[$code] = $label." ({$code})";
179
+                    $result[$code] = $label . " ({$code})";
180 180
                 } else {
181 181
                     $result[$code] = $label;
182 182
                 }
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
                     $this->_autoColumns[(string)$name] = [
266 266
                         'attribute' => $name,
267 267
                         'format'    => 'raw',
268
-                        'value'     => function ($model, $key, $index) use ($name) {
268
+                        'value'     => function($model, $key, $index) use ($name) {
269 269
                             if (is_array($model->{$name})) {
270 270
                                 return implode(",", $model->{$name});
271 271
                             } else {
Please login to merge, or discard this patch.
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.