Skip to content

Ds\Map::get() false positive #4545

@enumag

Description

@enumag

Bug report

I suspect it's a problem in DsMapDynamicReturnTypeExtension but so far I was unable to fix it.

Code snippet that reproduces the problem

https://phpstan.org/r/cd2b0fc0-5cd7-43cf-bed8-4b1ba7785a57

Expected output

No errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions