Skip to content

ObjectType: fix isEnum - #3915

Merged
ondrejmirtes merged 5 commits into
phpstan:2.1.xfrom
janedbal:object-is-enum-fix
Apr 7, 2025
Merged

ondrejmirtes merged 5 commits into
phpstan:2.1.xfrom
janedbal:object-is-enum-fix

Conversation

@janedbal

@janedbal janedbal commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

Comment thread src/Type/ObjectType.php Outdated
Comment thread tests/PHPStan/Type/ObjectTypeTest.php
@janedbal
janedbal requested a review from ondrejmirtes April 7, 2025 08:38
@ondrejmirtes
ondrejmirtes merged commit 9a0bfd2 into phpstan:2.1.x Apr 7, 2025
@ondrejmirtes

Copy link
Copy Markdown
Member

Thank you!

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 this pull request may close these issues.

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

2 participants