@@ -386,7 +386,7 @@ |
||
386 | 386 | return; |
387 | 387 | } |
388 | 388 | |
389 | - uasort($ordered, function ($columnDef1, $columnDef2) { |
|
389 | + uasort($ordered, function($columnDef1, $columnDef2) { |
|
390 | 390 | $columnParts1 = $columnDef1['arguments']; |
391 | 391 | $columnParts2 = $columnDef2['arguments']; |
392 | 392 | $order1 = $columnParts1[5]; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public static function fromCamelCase($str) |
13 | 13 | { |
14 | - $value = preg_replace_callback('/([A-Z])/', function ($str) { |
|
14 | + $value = preg_replace_callback('/([A-Z])/', function($str) { |
|
15 | 15 | return ' '.$str[0]; |
16 | 16 | }, $str); |
17 | 17 | $value = ucfirst($value); |
@@ -386,7 +386,7 @@ |
||
386 | 386 | return; |
387 | 387 | } |
388 | 388 | |
389 | - uasort($ordered, function ($columnDef1, $columnDef2) { |
|
389 | + uasort($ordered, function($columnDef1, $columnDef2) { |
|
390 | 390 | $columnParts1 = $columnDef1['arguments']; |
391 | 391 | $columnParts2 = $columnDef2['arguments']; |
392 | 392 | $order1 = $columnParts1[5]; |
@@ -111,12 +111,12 @@ |
||
111 | 111 | |
112 | 112 | // We need to pass filter information here. |
113 | 113 | $params = [ |
114 | - 'id' => $this->gridSource->getId(), |
|
115 | - 'renderer' => 'datatables', |
|
116 | - 'filter' => $this->gridSource->getFilter(), |
|
117 | - 'parameters' => $this->gridSource->getParameters(), |
|
118 | - 'order' => $this->gridSource->getOrderBy(), |
|
119 | - 'fields' => $fields, |
|
114 | + 'id' => $this->gridSource->getId(), |
|
115 | + 'renderer' => 'datatables', |
|
116 | + 'filter' => $this->gridSource->getFilter(), |
|
117 | + 'parameters' => $this->gridSource->getParameters(), |
|
118 | + 'order' => $this->gridSource->getOrderBy(), |
|
119 | + 'fields' => $fields, |
|
120 | 120 | ]; |
121 | 121 | |
122 | 122 | $sortInfo = $this->gridSource->getDefaultSort(); |