mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Add aka
This commit is contained in:
parent
647e7de70c
commit
afc38b841c
@ -92,7 +92,7 @@ takesList([1 => "hello"]); // triggers warning in Psalm
|
|||||||
|
|
||||||
## Object-like arrays
|
## 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
|
Given an array
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user