KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using Eclipse PDT and I want to annotate a local variable using Phpdoc. All I see is that I can annotate the variables/properties of a class using @var or even @property , but how is this possible for a local variable? How can I do something like this? function foo(){ /** @var Stock $a */ $a->save(); }
Tags (comma-separated)
Save Edits
Cancel