Test Setup Failed
Push — master ( d5d43f...0c1c6f )
by eXeCUT
13:02
created
widgets/GridView.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     public function init()
33 33
     {
34 34
         $this->toolbar = $this->getToolbarConfig();
35
-        $rowOptions = function ($row) {
35
+        $rowOptions = function($row) {
36 36
             return [
37 37
                 'class' => 'link-row',
38 38
                 'data-id' => $row->primaryKey,
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
         if (is_callable($this->rowOptions)) {
44 44
             $oldRowOptions = $this->rowOptions;
45
-            $this->rowOptions = function ($row) use ($oldRowOptions, $rowOptions) {
45
+            $this->rowOptions = function($row) use ($oldRowOptions, $rowOptions) {
46 46
                 $oldData = $oldRowOptions($row);
47 47
                 if ($oldData === null) {
48 48
                     $oldData = [];
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             };
53 53
         } else if (is_array($this->rowOptions)) {
54 54
             $oldRowOptions = $this->rowOptions;
55
-            $this->rowOptions = function ($row) use ($oldRowOptions, $rowOptions) {
55
+            $this->rowOptions = function($row) use ($oldRowOptions, $rowOptions) {
56 56
                 return ArrayHelper::merge($rowOptions($row), $oldRowOptions);
57 57
             };
58 58
         } else {
Please login to merge, or discard this patch.
widgets/DynaGrid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             'class' => GridView::class,
44 44
             'responsive' => false,
45 45
             'responsiveWrap' => false,
46
-            'rowOptions' => function ($row) {
46
+            'rowOptions' => function($row) {
47 47
                 if ($row instanceof DynaGridRow) {
48 48
                     return $row->getRowOptions();
49 49
                 }
Please login to merge, or discard this patch.