@@ -450,7 +450,7 @@ |
||
450 | 450 | /** |
451 | 451 | * Prepare count query builder. |
452 | 452 | * |
453 | - * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder |
|
453 | + * @return string |
|
454 | 454 | */ |
455 | 455 | protected function prepareCountQuery() |
456 | 456 | { |
@@ -231,7 +231,7 @@ |
||
231 | 231 | { |
232 | 232 | $criteria = $this->request->orderableColumns(); |
233 | 233 | if (!empty($criteria)) { |
234 | - $sorter = function ($a, $b) use ($criteria) { |
|
234 | + $sorter = function ($a, $b) use ($criteria) { |
|
235 | 235 | foreach ($criteria as $orderable) { |
236 | 236 | $column = $this->getColumnName($orderable['column']); |
237 | 237 | $direction = $orderable['direction']; |