Skip to content

Property A::$map (Ds\Map<string, string>) does not accept Ds\Map<mixed, mixed>. #7824

@simPod

Description

@simPod

Bug report

Same as #6757, it should be possible to initialize the map's types using property assigment

Code snippet that reproduces the problem

https://phpstan.org/r/d3ca1078-268f-48da-a313-a874a5362da6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions