You can use array{} annotations to specify the available keys (and their value types) in PHP arrays

You can use array{} annotations to specify the available keys (and their value types) in PHP arrays

🔥When you add an array{} return docblock, IDEs are able to autocomplete the keys when reaching into that array.

Sweet! #php

We're writing a book, you can get it for free here.