We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad182af commit 8c39afeCopy full SHA for 8c39afe
src/Traits/WebmanResponseTrait.php
@@ -33,6 +33,7 @@ public function paginate(\Illuminate\Pagination\LengthAwarePaginator $paginate,
33
'total' => $paginate->total(),
34
'current_page' => $paginate->currentPage(),
35
'per_page' => $paginate->perPage(),
36
+ 'last_page' => $paginate->lastPage(),
37
],
38
'data' => array_map(function ($item) use ($callable) {
39
if ($callable) {
0 commit comments