-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: add @template TModel of static for Eloquent #1631
Conversation
This works for me with something like |
Working for me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a test, please?
Hi @mfn Regarding writing test cases, do you have any ideas or suggestions? I'm not quite sure how to write test cases for this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, didn't realize we've no tests for this generator sadly.
LGTM 👍🏼
I think we need the other templates as well, right? #1634 |
Yeah there where a few more, TValue or something |
Summary
fix: #1572
adding this docbloc for TModel of Eloquent class in ide-helper fix the return type.
Type of change