@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | } |
135 | 135 | |
136 | 136 | $searchMethod = $this->getSearchMethod($searchField); |
137 | - [$searchQuery,$searchBindings] = $this->getSearchQuery($searchField, $column); |
|
137 | + [$searchQuery, $searchBindings] = $this->getSearchQuery($searchField, $column); |
|
138 | 138 | |
139 | 139 | $this->query->{$searchMethod}($searchQuery, $searchBindings); |
140 | 140 | } |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | $value = $column['search']['value']; |
149 | 149 | |
150 | 150 | if ($this->isDateRange($value)) { |
151 | - [$from,$to] = explode(' - ', $value); |
|
151 | + [$from, $to] = explode(' - ', $value); |
|
152 | 152 | |
153 | 153 | $from = $this->toMySQLDate($from); |
154 | 154 | $to = $this->toMySQLDate($to, 1); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | $app->alias('datatables', DataTables::class); |
20 | 20 | |
21 | - $app->singleton('datatables', function () use ($app) { |
|
21 | + $app->singleton('datatables', function() use ($app) { |
|
22 | 22 | return new DataTables( |
23 | 23 | $app->make('request'), |
24 | 24 | $app->make(DatabaseManager::class) |