Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[11.x] Backport "Change paginate() method return types to \Illuminate\Pagination\LengthAwarePaginator" #54917

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

carestad
Copy link
Contributor

@carestad carestad commented Mar 5, 2025

Backport of #54826 to 11.x branch.

Return types of all the subsequent calls are returning this, which in turn implements \Illuminate\Contracts\Pagination\LengthAwarePaginator

Related to bmewburn/vscode-intelephense#2912. Which I in turn had issues with locally where calling methods to the returned data from ->paginage() did not auto complete.

…ngthAwarePaginator` (laravel#54826)

Return types of all the subsequent calls are returning this, which in turn implements `\Illuminate\Contracts\Pagination\LengthAwarePaginator`

Related to bmewburn/vscode-intelephense#2912. Which I in turn had issues with locally where calling methods to the returned data from `->paginage()` did not auto complete.

Hope this is possible to backport to 11.x too if this is a change that is okay.
@crynobone crynobone changed the title [11.x] Backport "Change paginage() method return types to \Illuminate\Pagination\LengthAwarePaginator" [11.x] Backport "Change paginate() method return types to \Illuminate\Pagination\LengthAwarePaginator" Mar 5, 2025
@taylorotwell taylorotwell merged commit f5679ce into laravel:11.x Mar 5, 2025
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants