1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
This commit is contained in:
Matthew Brown 2020-10-31 00:18:23 -04:00 committed by Daniil Gentili
parent 647e7de70c
commit afc38b841c
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -92,7 +92,7 @@ takesList([1 => "hello"]); // triggers warning in Psalm
## Object-like arrays
Psalm supports a special format for arrays where the key offsets are known: object-like arrays.
Psalm supports a special format for arrays where the key offsets are known: object-like arrays, also known as **array shapes**.
Given an array