Skip to content

numeric-string not preserved when passed into generic constructor #5594

@enumag

Description

@enumag

Bug report

I hope I didn't make another mistake somewhere but this seems like a real bug to me. 🤔

Code snippet that reproduces the problem

https://phpstan.org/r/6382fe16-7dad-44ae-ac6f-9fdac6f531cf

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