Psalm
Get started
Documentation
Paid support
Plugins
Blog
GitHub
<?php /** * @return array{ * key1: int, // Comment * // Comment * key2: array { // Comment * key2_1: string, // Comment * } * } */ function test(): array { return [ 'key1' => 1, 'key2' => [ 'key2_1' => 'test', ], ]; }
Snippet created on July 16 2023 at 09:52 UTC
Settings
Get link