Fix phpdoc

Fixes:
- Missing definitions of arguments
- Invalid typeint
- Missing definitions of exceptions thrown
- Missing definitions of returns
I don't think we need this. We don't document exceptions thrown by code used inside the method generally, and the throw in this method is just rethrowing the errors being catched