Skip to content

Looping class-string-map incorrectly has mixed key and mixed value #11787

@kkmuffme

Description

@kkmuffme

Using the example from the docs https://psalm.dev/docs/annotating_code/type_syntax/utility_types/#class-string-mapt-of-foo-t

When looping over the class-string-map it incorrectly uses mixed instead of class-string<Foo> for the key and Foo for the value
https://psalm.dev/r/d4aa6104f1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions