@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | 'visibleColumns' => [ |
| 83 | 83 | 'class' => SelectField::class, |
| 84 | 84 | 'multiple' => true, |
| 85 | - 'on beforeRender' => function ($e) { |
|
| 85 | + 'on beforeRender' => function($e) { |
|
| 86 | 86 | /** |
| 87 | 87 | * @var $gridView GridView |
| 88 | 88 | */ |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | ['caption', 'string'], |
| 121 | 121 | ], |
| 122 | 122 | ], |
| 123 | - ], (array) $this->configBehavior), |
|
| 123 | + ], (array)$this->configBehavior), |
|
| 124 | 124 | ]); |
| 125 | 125 | } |
| 126 | 126 | |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | if ($result && in_array($label, array_values($result))) { |
| 168 | - $result[$code] = $label." ({$code})"; |
|
| 168 | + $result[$code] = $label . " ({$code})"; |
|
| 169 | 169 | } else { |
| 170 | 170 | $result[$code] = $label; |
| 171 | 171 | } |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | $this->_autoColumns[(string)$name] = [ |
| 253 | 253 | 'attribute' => $name, |
| 254 | 254 | 'format' => 'raw', |
| 255 | - 'value' => function ($model, $key, $index) use ($name) { |
|
| 255 | + 'value' => function($model, $key, $index) use ($name) { |
|
| 256 | 256 | if (is_array($model->{$name})) { |
| 257 | 257 | return implode(",", $model->{$name}); |
| 258 | 258 | } else { |