Add /** @var */ for a variable

Hello,

is there a shortcut to add /** @var */ for a variable?

Thanks,
Stefan

0
1 comment

Hi Stephan,

There is no separate action for this and therefore no shortcut. The quickest way is to type /**<SPACE> which should trigger the correct template, e.g . /** @var $your_variable <CURSOR>*/

0

Please sign in to leave a comment.