Skip to content

Commit 99b85b0

Browse files
committed
converted 'data' to array instead of collection for testing purposes
1 parent 2c1ee60 commit 99b85b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DatatableService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function setAllowedSelects(array $allowedSelects): DatatableService
5353
public function getData(): array
5454
{
5555
$query = $this->buildQuery();
56-
$data = $query->get();
56+
$data = $query->get()->toArray();
5757

5858
return array(
5959
'data' => $data,

0 commit comments

Comments
 (0)