Skip to content

Eliminate arrays in union based on count() with smaller/greater operator #11480

@ondrejmirtes

Description

@ondrejmirtes

Bug report

After phpstan/phpstan-src#3302

Code snippet that reproduces the problem

https://phpstan.org/r/33c88595-2c0c-4c7e-b4cb-ca45804ee762

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions