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

fix: EloquentCollection find and unique generics #53239

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

calebdw
Copy link
Contributor

@calebdw calebdw commented Oct 19, 2024

Hello!

Please see larastan/larastan#1985 (comment) for context.

This fixes the EloquentCollection unique generics to wok with non-generic custom collections. I also made the find method more accurate based on the parameter types.

Thanks!

@taylorotwell taylorotwell merged commit 6247370 into laravel:11.x Oct 21, 2024
31 checks passed
@calebdw
Copy link
Contributor Author

calebdw commented Oct 21, 2024

Thanks!

@calebdw calebdw deleted the collection_unique_find branch October 21, 2024 14:08
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