array shapes
Guilty Of PHP articles about array shapes
1 article
-
Specify Required and Optional Array Keys with PHPDoc Shapes
Use `array{id: int, name: string, nickname?: string}` to give PHPStan or Psalm known keys and value types to analyze.
