You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also parameterize class-string with an object name e.g. class-string. This tells Psalm that any matching type must either be a class string of Foo or one of its descendants.
However, if the class has template defined a strange error if emitted when passing a child class to method with such a parameter
The docs say
However, if the class has template defined a strange error if emitted when passing a child class to method with such a parameter
https://psalm.dev/r/41335c8656
The text was updated successfully, but these errors were encountered: