Skip to content

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

@janedbal

Description

@janedbal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions