Skip to content

Commit 8c39afe

Browse files
authored
Update WebmanResponseTrait.php
1 parent ad182af commit 8c39afe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Traits/WebmanResponseTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public function paginate(\Illuminate\Pagination\LengthAwarePaginator $paginate,
3333
'total' => $paginate->total(),
3434
'current_page' => $paginate->currentPage(),
3535
'per_page' => $paginate->perPage(),
36+
'last_page' => $paginate->lastPage(),
3637
],
3738
'data' => array_map(function ($item) use ($callable) {
3839
if ($callable) {

0 commit comments

Comments
 (0)