add missing @throws and @param to method phpdoc