[phpdoc] Update PhpDoc

Update PhpDoc and refactor some code (no code changes).
This does not add any value. It just repeats the declaration, so it makes no sense to add it