https://psalm.dev/r/fda407c85e
```php
'value'];
}
$input = return_array();
if (isset($input['key'])) {
accept_array($input);
}
```
```
Psalm output (using commit c75f06e):
INFO: MissingReturnType - 8:10 - Method return_array does not have a return type, expecting array{key: 'value'}
INFO: MixedAssignment - 13:1 - Unable to determine the type that $input is being assigned to
INFO: MixedArgument - 16:16 - Argument 1 of accept_array cannot be mixed, expecting array
```
I believe checking a string key on a variable can only imply an associative array, numeric keys could be string or array.
update: Anything multi-dimensional probably also implies an array.
https://psalm.dev/r/fda407c85e