Modified PHPdoc comments
Changed Exception type to InvalidArgumentException