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

BUG: Type coverage when method override without typehint #26

Open
koraga opened this issue Feb 5, 2024 · 1 comment
Open

BUG: Type coverage when method override without typehint #26

koraga opened this issue Feb 5, 2024 · 1 comment

Comments

@koraga
Copy link

koraga commented Feb 5, 2024

Hello!
I catch type coverage error when i extends class from package (vendor folder) which have low type coverage, but have doctype
For example:
https://phpstan.org/r/4901978f-4a9c-404f-8a35-901e90b9b21d

@wimulkeman
Copy link

I encountered the same issue when using a interface (in my case the DataTransformerInterface from ApiPlatform). Adding a \ @phpstan-ignore-line did not help for PHPstan noted that their was nothing to ignore.

Maybe this issue can be resolved by making the extension support the ignore comment?

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

2 participants