Skip to content

Commit

Permalink
改进分页toarray方法
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Dec 5, 2024
1 parent 15255d6 commit d6e23e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ public function toArray(): array
'current_page' => $this->currentPage(),
'last_page' => $this->lastPage,
'data' => $this->items->toArray(),
'has_more' => $this->hasMore,
];
}

Expand Down

0 comments on commit d6e23e6

Please sign in to comment.