Added PHPdoc blocks and a bit of simple code cleanup
Fixed a few PHPdoc blocks
Fixed a few PHPdoc blocks
Cleaned up a few PHPdoc blocks
Better logic for handling new php error types as well as an updated error type mapping table