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
-Unable to resolve the template type T in call to method static method Foo::assertStatic()+Unable to resolve the template type T in call to static method Foo::assertStatic()
Feature request
repro: https://phpstan.org/r/f598eac3-f1c3-407a-a123-db3f53612e6e
I would expect:
src: https://github.com/phpstan/phpstan-src/blob/2.1.4/src/Rules/Methods/CallMethodsRule.php#L69 and https://github.com/phpstan/phpstan-src/blob/2.1.4/src/Rules/Methods/CallStaticMethodsRule.php#L77 - all really all that messages affected?
This impl. seems https://github.com/phpstan/phpstan-src/blob/e140197a0ab83abf36af13760b75374485ae1e2a/src/Rules/Functions/CallUserFuncRule.php#L79 how it should be done.