Greg Beaver wrote:

What do you think of allowing shortened syntax, since @package is implied. In other words, all packages have to have a @package tag for all classes, so we can safely assume that a package will throw a package_error or a package_warning, etc. then, if we encounter:

I doesn't want to stick to this behavoir, better we allow @throw for the @package doc section. This @throws define a standard namespace/class for
the @throws in function scope, ie:



* @package myPackage * @throws PEAR_Error */ ...


* @throws NOT_FOUND -> PEAR_Error::NOT_FOUND */ function ...


* @throws DB_Error::MISSING_DSN */ function ...






-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to