how to make PHP completion for array indexes in phpstorm

In office announcement:,d.aGc

it says:
PHP completion for array indexes has been significantly improved

It's also meantioned:
"Code completion also supports array indexes in PHP code."

but how to make it happen?

That is, how to do array declaration in phpdoc comment?

For example, this doesn't work:
/** @var array([decision], [stake], [orig_stake]) $myvar */

(where [decision] etc. are array indexes)

1 comment
Comment actions Permalink

Seems to work on 6.0.3


Please sign in to leave a comment.