php - PHPDoc to describe dynamic reference to static method -
$class = 'myclass'; $class::method(); is possible add auto-complete of ::method(); phpdoc?
yes. way only:
<?php $class = 'myclass'; /** @var myclass|string $class */ $class::method(); 
Comments
Post a Comment