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

Does not report error from used trait correctly #32

Open
ariaieboy opened this issue Mar 25, 2024 · 0 comments
Open

Does not report error from used trait correctly #32

ariaieboy opened this issue Mar 25, 2024 · 0 comments

Comments

@ariaieboy
Copy link

I have a class that uses a trait.
this plugin shows this error

 47     Out of 547 possible param types, only 416 - 76.0 % actually have it. Add more param types to get over 100 %

that means in line 47 must be a problem but there is no type definition needed in the class itself on line 47.
but if we go to the trait that is used by this class we can see that there is a missing param type on line 47.
It should report like phpstan itself that says it has this error in trait x in context of class y.

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

No branches or pull requests

1 participant