If you have a function that takes an array as one of it's parameters, how would one specify the keys for the array?
I was thinking something to represent:
array(
'name' => 'foo'
'email' => 'foo@bar.net'
);
could be
@param array $user [name, email]
A solution that works in PHPStorm would be great!
Bonus: how can you specify if the key is optional?