Skip to content

Using setters with class-string-map #4460

@weirdan

Description

@weirdan

I've been experimenting with undocumented class-string-map type, and I think the following (slight modification of the passing test case) should be type-safe: https://psalm.dev/r/53e6c832e1

Related: #4458 (using a class-string-map there could be a valid solution).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions