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).
I've been experimenting with undocumented
class-string-maptype, and I think the following (slight modification of the passing test case) should be type-safe: https://psalm.dev/r/53e6c832e1Related: #4458 (using a
class-string-mapthere could be a valid solution).