[CLEANUP] Use the Type[] array syntax in PhpDoc

This will help IDEs like PhpStorm with static code analysis and
code completion.

Closes #104