I can tell PhpStorm about the variables Permanently deleted user 创建于 2011年02月09日 00:33 i mean some faq about comments like @param or @return, and how i can use it for global scope
Please elaborate - what are you tring to achieve?..
Ok. For ex. i have file tpl.php that use some theming, and it(file) gets var $node. I wont PhpStorm to know about class of this var and not mark up it as undefined variable. Can I do this?
add
/** @var $node Type */
before 1st $node usage