There is special function in our project which takes class name as argument and return instance of this class. And PHPStorm can't determine, of which class this instance is.
$c = class( 'test' ); // $c - instance of class test.
In this case PhpStorm can't determine that $c - is instance of test class and code completition desn't work.
Is there any opportunity to say to PHPStorm, that argument of function 'class' is a class name and result of function invocation is instance of this class? It's needs for method/fields detection and code completion.