Skip to content

Match expression does not handle remaining value with an array value #4451

Closed
@jkuchar

Description

@jkuchar

Bug report

match() definitely handles all values, but phpstan do not think so.

Code snippet that reproduces the problem

https://phpstan.org/r/b07c57ab-5084-4149-9c8b-21c1e14d2377

Expected output

No error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions