$class = 'MyClass'; $class::method();
Is it possible to add auto-complete of ::method(); with PHPDoc?
::method();
Yes. But this way only:
<?php $class = 'MyClass'; /** @var MyClass|string $class */ $class::method();