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

Change return types of paginage() methods to \Illuminate\Pagination\LengthAwarePaginator #54826

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

carestad
Copy link
Contributor

@carestad carestad commented Feb 27, 2025

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 the change is okay.

…ngthAwarePaginator`

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.
@taylorotwell taylorotwell merged commit f5e57f0 into laravel:12.x Feb 27, 2025
41 checks passed
carestad added a commit to carestad/framework that referenced this pull request Mar 5, 2025
…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.
taylorotwell pushed a commit that referenced this pull request Mar 5, 2025
…ngthAwarePaginator` (#54826) (#54917)

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.
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