From b1973fe288851c8ec97e94962950f11d8bc49878 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 25 Jul 2024 04:32:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Laratables.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Laratables.php b/src/Laratables.php index 474dbd6..98aa309 100644 --- a/src/Laratables.php +++ b/src/Laratables.php @@ -144,10 +144,10 @@ private function shouldApplyLimit() protected function tableData($records) { return [ - 'draw' => request('draw') + 1, - 'recordsTotal' => $this->queryHandler->getRecordsCount(), + 'draw' => request('draw') + 1, + 'recordsTotal' => $this->queryHandler->getRecordsCount(), 'recordsFiltered' => $this->queryHandler->getFilteredCount(), - 'data' => $records->toArray(), + 'data' => $records->toArray(), ]; } }