Open
Description
Feature request
Psalm allows array{foo: int, bar: int, ...}
notation to specify that this array may also contain other keys. Array shapes without the ...
must not contain any other keys.
This is a feature introduced in Psalm 5. It's described in depth in the announcement post. Here are the examples from the post in PHPStan playground: https://phpstan.org/r/40e730d8-e941-4102-9e76-a07f1c0a2e46.