Psalm
Get started
Documentation
Plugins
Articles
GitHub
<?php /** * @psalm-return array{int, string} */ function produce(): array { return [1, 'ds']; } $array = produce(); echo $array[0]; echo $array[1] + 'abc'; echo $array[2];
Snippet created on December 14 2021 at 08:40 UTC
Settings
Get link