Hacker News new | ask | show | jobs
by Eremotherium 2315 days ago
You can add e.g. descriptions to your params if needed. Also phpdoc understands types like string[] for arrays and union types like (int|string) for untyped params.