PhpDoc comment
Small typos
Specify the exact type of the exception.
Merge pull request #1123 from mongosoft/master

Typos