Documentation Fixes for Scrutinizer

This PR just adds a bunch of PHPDoc fixes (and other minor tweaks) to try to cut down on Scrutinizer errors in an attempt to make it a more useful debugging tool. Currently there is a lot of unnecessary noise in the reports, and this PR fixes a good deal of them.