logoalt Hacker News

donatjtoday at 11:31 AM0 repliesview on HN

Exactly. The article kind of circles around the idea that it's bad, but never really lands on why.

My experience is with modern annotations, callable and iterable are pretty powerful, convenient, and safe.

- https://phpstan.org/writing-php-code/phpdoc-types#callables

- https://phpstan.org/writing-php-code/phpdoc-types#iterables