-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Generated factories with PHPStan methods cause PhpStorm to mark file as error #503
Comments
Hey, I just ran into this the other day too. My solution was to wrap the type-hint in Is your above example what's generated by the maker? |
@kbond Thanks for your tip, it looks better now, but it's not underlight like previous methods Yes all is generated by maker |
Yeah, PHPStorm doesn't recognise the syntax but at least it no longer marks the entire file with an error.
Ok, we'll need to update the maker template - let's keep this issue open. |
Hello,
I have an issue with phpstan annotations on phpstorm:
Method with same name already defined in this class
I didn't find anything opened on this github, and nothing else in the web.
I didn't really know if it's a phpstorm i
ssue or more depth Foundry problem ( or maybe just config..? )
This is the render of my Factory with the error:
The text was updated successfully, but these errors were encountered: