Support class-string-map<T of Foo, T>
See https://psalm.dev/docs/annotating_code/type_syntax/utility_types/#class-string-mapt-of-foo-t
It's essentially a more specific type of array<class-string<Foo>, Foo>
I will add support for this type in the second version.
Apparently, phpstan/phpdoc-parser does not support this type. Until phpstan/phpdoc-parser supports this type, we won't be able to do anything.
Yes, there's an issue open for that https://github.com/phpstan/phpstan/issues/9521
Also it's actually class-string-map<T as Foo, T> (not "of") - with psalm having a bug report for it previously https://github.com/vimeo/psalm/issues/10095 - so both need to be supported