Add annotations of PSR-5 (PHPDoc standard)

What about adding `@type` too? It has been removed from the PSR-5 draft but is already used in the wild (for instance: https://github.com/milesj/decoda/pull/71).
Is PSR-5 already a thing?