Skip to content

[FP] Property string is always numeric #2710

@adaamz

Description

@adaamz

Bug report

phpstan thinks property of type string is always numeric, which is not true.

Code snippet that reproduces the problem

https://phpstan.org/r/21a1f430-aaac-4a9b-93b6-304b9aa4d2ab

Expected output

No error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions