Skip to content

Allow comparisons between Number and int #13001

@vudaltsov

Description

@vudaltsov

Bug report

https://3v4l.org/UFLV9

Code snippet that reproduces the problem

https://phpstan.org/r/1b405f28-7fe5-4792-b693-b35a3adab29a

Expected output

No errors.

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions