@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | 'storage' => \kartik\dynagrid\DynaGrid::TYPE_DB, |
82 | 82 | // 'pageSize' => 100000, |
83 | 83 | 'gridOptions' => [ |
84 | - 'rowOptions' => function ($row) { |
|
84 | + 'rowOptions' => function($row) { |
|
85 | 85 | if (method_exists($row, 'getRowOptions')) { |
86 | 86 | return $row->getRowOptions(); |
87 | 87 | } |
@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | // '{create}' => ['class' => 'col-xs-8 text-right'], |
303 | 303 | ], |
304 | 304 | 'bulkActionsItems' => [ |
305 | - 'General' => ['mass-update' => 'Mass edit',], |
|
305 | + 'General' => ['mass-update' => 'Mass edit', ], |
|
306 | 306 | ], |
307 | 307 | 'bulkActionsOptions' => [ |
308 | 308 | 'options' => [ |
@@ -146,7 +146,7 @@ |
||
146 | 146 | 'actions' => [ |
147 | 147 | 'class' => ActionColumn::className(), |
148 | 148 | 'buttons' => [ |
149 | - 'view' => function () {}, |
|
149 | + 'view' => function() {}, |
|
150 | 150 | ], |
151 | 151 | ], |
152 | 152 | ]; |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | $editFormLabel = $this->getEditFormLabel($this->model); |
150 | 150 | } |
151 | 151 | |
152 | - $editFormLabel = strtr($this->labelTemplate, [ |
|
152 | + $editFormLabel = strtr($this->labelTemplate, [ |
|
153 | 153 | '{label}' => $editFormLabel, |
154 | 154 | '{closeButton}' => $this->closeButton, |
155 | 155 | ]); |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | } |
159 | 159 | |
160 | 160 | protected function getCreateFormLabel() { |
161 | - $m = $this->createFormLabel; |
|
161 | + $m = $this->createFormLabel; |
|
162 | 162 | |
163 | 163 | $t = $this->translate($m); |
164 | 164 |
@@ -265,7 +265,7 @@ |
||
265 | 265 | 'displayOnly' => false, |
266 | 266 | 'type' => DetailView::INPUT_WIDGET, |
267 | 267 | 'attribute' => 'id', |
268 | - 'value' => function () use ($modelsNames) { |
|
268 | + 'value' => function() use ($modelsNames) { |
|
269 | 269 | return implode(', ', $modelsNames); |
270 | 270 | }, |
271 | 271 | 'widgetOptions' => [ |