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
Psalm output (using commit ef3b018):
ERROR: InvalidDocblock - 46:3 - Unrecognised template param TA in docblock for C::foo
INFO: MixedMethodCall - 47:25 - Cannot determine the type of $this->item when calling method get
INFO: MissingReturnType - 46:19 - Method C::foo does not have a return type
How can I type hint of the subtype/template of a type/template?
https://psalm.dev/r/58e26f6817
In this example, how can I hint that the return value will be of type
TA
corresponding to whicheverTClass
type$item
is?The text was updated successfully, but these errors were encountered: