Skip to content

[11.x] add Generics to Paginator's ArrayAccess methods#54428

Merged
taylorotwell merged 1 commit into
laravel:11.xfrom
taka-oyama:feature/add-generics-paginator-access
Jan 31, 2025
Merged

[11.x] add Generics to Paginator's ArrayAccess methods#54428
taylorotwell merged 1 commit into
laravel:11.xfrom
taka-oyama:feature/add-generics-paginator-access

Conversation

@taka-oyama

Copy link
Copy Markdown
Contributor

This PR will make Paginator aligned with Collection, which already has these generic types defined for ArrayAccess methods.

@taylorotwell

Copy link
Copy Markdown
Member

Thanks for your pull request to Laravel!

Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.

If applicable, please consider releasing your code as a package so that the community can still take advantage of your contributions!

@taylorotwell taylorotwell reopened this Jan 31, 2025
@taylorotwell
taylorotwell merged commit fcd058f into laravel:11.x Jan 31, 2025
@taka-oyama
taka-oyama deleted the feature/add-generics-paginator-access branch January 31, 2025 08:23
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