Answer the question
In order to leave comments, you need to log in
How to change property type for PhpStorm project?
Foreword:
I am using Yii2, in the core of which, using PhpDoc, the property type is specified
/**
* ....
* @property IdentityInterface|null $identity The identity object associated with the currently logged-in
* .....
*/
class User extends Component{
}
Answer the question
In order to leave comments, you need to log in
add hints where you want:
/**
* @var $user /common/mydir/MyUserComponent
*/
$user = Yii::$app->user;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question