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
When implementing generic method in trait, phpstan seems to ignore method's docs and does not consider passed string as class-string<T> even though the docs says so
When implementing generic method in trait, phpstan seems to ignore method's docs and does not consider passed
string
asclass-string<T>
even though the docs says sohttps://phpstan.org/r/b20eb9d9-74ad-4355-b109-d2540196c9f3
When not using the trait for it, it works fine https://phpstan.org/r/a65993a4-cd25-4c23-b23d-eea5bd58aeed
Seems similar to #2808
The text was updated successfully, but these errors were encountered: