Adds missing "throws" phpdoc