@@ -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 | $url = $this->router->generate('dtc_grid_data', $params); |