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

ObjectType->isEnum() returns no for interfaces, but should return maybe #12832

Open
janedbal opened this issue Apr 4, 2025 · 1 comment · May be fixed by phpstan/phpstan-src#3915
Open

ObjectType->isEnum() returns no for interfaces, but should return maybe #12832

janedbal opened this issue Apr 4, 2025 · 1 comment · May be fixed by phpstan/phpstan-src#3915

Comments

@janedbal
Copy link
Contributor

janedbal commented Apr 4, 2025

Bug report

Enums can implement interfaces.

Code snippet that reproduces the problem

No response

Expected output

maybe

Did PHPStan help you today? Did it make you happy in any way?

No response

Copy link

mergeable bot commented Apr 4, 2025

This bug report is missing a link to reproduction at phpstan.org/try.

It will most likely be closed after manual review.

@janedbal janedbal linked a pull request Apr 4, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant