Added phpdoc (return statement and throws)