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
Description
If a @method annotation with static return type is present on an interface, the DebugClassLoader reports Class Foo should implement method static FooInterface::method().
As per phpDocumentor method tag if a method is static the return type is mandatory. This implies that
* @method static getInstance()
should be parsed as non-static method with static return type, but now is parsed as static untyped method.
Possible Solution
The @method parse regex on DebugClassLoader.php:L430 should capture return type and check it while determining if a method should be static or not.