Pull request changes:
* Removed @package phpdoc
* Amended author email
* Added class description
* Added missing type
* Replaced null with expected type
* Spelling correction in error message
* Amended method scope
* Removed extra spaces from test class