Closed simPod closed 1 month ago
TIL about list
as a type hint. 🙇🏽♂️
@shadowhand check this out https://phpstan.org/writing-php-code/phpdoc-types
@simPod ah, because list
has only existed since phpstan 1.9.0 and later. I knew of Foo[]
but not list<Foo>
. 👍🏼
Thank you, released with https://github.com/webonyx/graphql-php/releases/tag/v15.14.1.