I do not know how to put it exactly. There is an array variable, you need autocomplete in phpstorm or type hinting or highlighting the array keys.
For example, if I describe a variable with a class, then all the methods and properties will be highlighted:
/** * @var \PDO */ I tried to search and try, but nothing came up, suggestive (if I incorrectly express myself) examples in the burzhunete:
https://gist.github.com/mvriel/3822861
https://stackoverflow.com/questions/2713710/comment-associative-array-in-php-documentor https://stackoverflow.com/questions/15414103/best-way-to-document-array-options-in-phpdoc
Is it possible? An example of an array to describe:
$array = [ 45 => [ 'curl_options' => [ CURLOPT_URL => 'http:', CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, ], 'curl_postfield' => 'id', 'status_pattern' => '/[\da-z]{13}\s*(.+)/isu' ], 46 => [ 'curl_options' => [ CURLOPT_URL => 'http:', CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, ], 'curl_postfield' => 'post', 'status_pattern' => '/[\da-z]{10}\s*(.+)/isu' ] ]; 
@type \PDO[]. If the elements of the array are of different types, then I don’t know how to set the key-type correspondence, but this construction itself is a code smell, and it’s worth getting rid of. - etki