@@ -96,7 +96,7 @@ |
||
96 | 96 | 'tags' => array(array('name' => 'dtc_grid.source')), |
97 | 97 | 'calls' => array( |
98 | 98 | array('autoDiscoverColumns'), |
99 | - ), ); |
|
99 | + ),); |
|
100 | 100 | |
101 | 101 | if ($columns && isset($gridColumnsNamespace) && isset($gridColumnClass)) { |
102 | 102 | $config[$serviceName]['calls'] = array( |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | protected function fromCamelCase($str) |
13 | 13 | { |
14 | - $func = function ($str) { |
|
14 | + $func = function($str) { |
|
15 | 15 | return ' '.$str[0]; |
16 | 16 | }; |
17 | 17 |
@@ -100,12 +100,12 @@ |
||
100 | 100 | |
101 | 101 | // We need to pass filter information here. |
102 | 102 | $params = array( |
103 | - 'id' => $this->gridSource->getId(), |
|
104 | - 'renderer' => 'datatables', |
|
105 | - 'filter' => $this->gridSource->getFilter(), |
|
106 | - 'parameters' => $this->gridSource->getParameters(), |
|
107 | - 'order' => $this->gridSource->getOrderBy(), |
|
108 | - 'fields' => $fields, |
|
103 | + 'id' => $this->gridSource->getId(), |
|
104 | + 'renderer' => 'datatables', |
|
105 | + 'filter' => $this->gridSource->getFilter(), |
|
106 | + 'parameters' => $this->gridSource->getParameters(), |
|
107 | + 'order' => $this->gridSource->getOrderBy(), |
|
108 | + 'fields' => $fields, |
|
109 | 109 | ); |
110 | 110 | |
111 | 111 | $sortInfo = $this->gridSource->getDefaultSort(); |
@@ -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]; |