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
@var
This is an old question, but only for reference. You must include the Use statement for the Type in current file in order to @var annotation work
Use
Type
getName();