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

Open
wants to merge 1 commit into
base: 11.x
Choose a base branch
from

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!

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.

1 participant