Comment by pkkm
9 days ago
PHP does have return type annotations. The reason the PHPDoc comments are needed here is that it lacks generics. Unfortunately, adding generics has proven problematic, but I still hope that we'll see them in the next few years.
No comments yet
Contribute on Hacker News ↗