@@ -26,7 +26,7 @@ |
||
26 | 26 | public function init() |
27 | 27 | { |
28 | 28 | $this->toolbar = $this->getToolbarConfig(); |
29 | - $this->rowOptions = function ($row) { |
|
29 | + $this->rowOptions = function($row) { |
|
30 | 30 | return [ |
31 | 31 | 'attributes' => Json::encode($row->attributes), |
32 | 32 | ]; |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $this->gridOptions = ArrayHelper::merge([ |
42 | 42 | 'responsive' => false, |
43 | 43 | 'responsiveWrap' => false, |
44 | - 'rowOptions' => function ($row) { |
|
44 | + 'rowOptions' => function($row) { |
|
45 | 45 | if (method_exists($row, 'getRowOptions')) { |
46 | 46 | return $row->getRowOptions(); |
47 | 47 | } |