Numerous PHPDoc fixes.

Fixed all PHPDoc errors regarding:
1) Missing @return
2) Missing @throws
3) PHPDoc comment mismatch with method signature

In addition, removed non-existent parameters on ErrorPage::doPublish()