-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
PHPStan level 2 #253
PHPStan level 2 #253
Conversation
@SanderMuller Do you have any idea how to solve these errors? I tried type-hinting the |
We could either add ignore statements, baseline them or add @var docblocks at each usage. I guess PHPStan can just infer that it's a collection of models based on the Let me know which direction you want to take, then I can take a look |
@staudenmeir I've resolved it for now via 1bee685 Keep in mind that users of the package(s) might encounter the same challenge if the cause isn't solved |
Thanks @SanderMuller.
It's unfortunate that
I want to avoid that because it would be a breaking change. Laravel recently refactored the |
Thanks for this great contribution! I released a new version. |
🎉 thank you for the time and effort you put into this |
No description provided.