Skip to content

Commit 8eb5d4e

Browse files
author
robindrost
authored
Update README.md
1 parent 1723b09 commit 8eb5d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class MyController extends Controller
7979
8080
return response()->json([
8181
'results_size' => $models->total(),
82-
'results' => $models->getCollection(),
82+
'results' => $models->getCollection()->toArray(),
8383
]);
8484
}
8585
}

0 commit comments

Comments
 (0)