+
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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载