Type hinting array keys

Hi!

If I define some keys in an array like this

$r = array(); $r['test'] = "test2";


Phpstorm knows afterwards the key "'test", if I type

$r['']


and press Ctrl + Space between the quotes.


Is it possible to defined these keys through

* @var $r array['test']

1

Hi there,

Is it possible to defined these keys through

* @var $r array['test']

It's not currently possible.

0

请先登录再写评论。