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 say's 'No completions available'.
I tried to place the inline comment before and after the $model = ...;, but neither worked.
I'm sorry for my bad English - I hope you understand.
Thank you for any kind of help, best regards, Jakub Chábek.