Skip to content

\Ds\Map::get() false positive with numeric-string #5592

@enumag

Description

@enumag

Bug report

Most likely a bug somewhere in DsMapDynamicReturnTypeExtension or possibly in ParametersAcceptorSelector but so far I was unable to figure it out.

Code snippet that reproduces the problem

https://phpstan.org/r/9c9c6dd3-0bb0-4008-90e7-25f37c3cd687

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