Completed
Push — master ( 7052bb...d9c706 )
by Arjay
01:49
created
src/QueryDataTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/CollectionDataTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
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'];
Please login to merge, or discard this patch.