Skip to content

Use Generic Types Annotations for LazyCollection Methods #55380

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

Conversation

mohammadrasoulasghari
Copy link
Contributor

In LazyCollection, we’ve utilized Generic Types. These types are better for methods and ensure more precise type definitions.

Wherever static was returned and it was possible, Generic Types have been applied. ✅

@mohammadrasoulasghari mohammadrasoulasghari force-pushed the improve-lazy-collection-generics branch from c01588f to e6c3587 Compare April 12, 2025 15:37
@taylorotwell taylorotwell merged commit bfeadb4 into laravel:12.x Apr 14, 2025
58 checks passed
mohammadrasoulasghari added a commit to mohammadrasoulasghari/laravel-framework that referenced this pull request Apr 15, 2025
toshitsuna-otsuka pushed a commit to toshitsuna-otsuka/laravel-framework that referenced this pull request Apr 15, 2025
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