Eclipse completions - @var (PHPDoc) question
问题 I have strange problem. When I use @return Model\Article in the model-loading method then I see the model's methods in autocomplete of Eclipse. The model-loading method returns more objects so I want it to @return My\BaseModel and then put the /* @var $model Model\Article */ for each model specificaly (when I use it). The problem is that the @return Model\Article works well (I see Model\Article + My\BaseModel methods) but the other way ( @return My\BaseModel and inline /*...*/ ) doesn't - it