Added phpdocs blocks to prevent inspection errors.

another pull request i am not sure if it is correct or not.