@@ -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' => [ |
@@ -270,7 +270,7 @@ |
||
| 270 | 270 | // '{create}' => ['class' => 'col-xs-8 text-right'], |
| 271 | 271 | ], |
| 272 | 272 | 'bulkActionsItems' => [ |
| 273 | - 'General' => ['mass-update' => 'Mass edit',], |
|
| 273 | + 'General' => ['mass-update' => 'Mass edit', ], |
|
| 274 | 274 | ], |
| 275 | 275 | 'bulkActionsOptions' => [ |
| 276 | 276 | 'options' => [ |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | 'class' => GridView::class, |
| 43 | 43 | 'responsive' => false, |
| 44 | 44 | 'responsiveWrap' => false, |
| 45 | - 'rowOptions' => function ($row) { |
|
| 45 | + 'rowOptions' => function($row) { |
|
| 46 | 46 | if (method_exists($row, 'getRowOptions')) { |
| 47 | 47 | return $row->getRowOptions(); |
| 48 | 48 | } |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | public function init() |
| 32 | 32 | { |
| 33 | 33 | $this->toolbar = $this->getToolbarConfig(); |
| 34 | - $this->rowOptions = function ($row) { |
|
| 34 | + $this->rowOptions = function($row) { |
|
| 35 | 35 | return [ |
| 36 | 36 | 'class' => 'link-row', |
| 37 | 37 | 'data-id' => $row->primaryKey, |