From: Stig Bakken Date: Mon, 10 Feb 2003 14:27:21 +0000 (+0000) Subject: * update PEAR::isError phpdoc X-Git-Tag: RELEASE_0_5~1146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=983dd29a7eb205cb877bfba69b13511596369e8f;p=php * update PEAR::isError phpdoc --- diff --git a/pear/PEAR.php b/pear/PEAR.php index 48569f9dab..ebaf837d94 100644 --- a/pear/PEAR.php +++ b/pear/PEAR.php @@ -223,6 +223,8 @@ class PEAR * Tell whether a value is a PEAR error. * * @param mixed $data the value to test + * @param int $code if $data is an error object, return true + * only if $obj->getCode() == $code * @access public * @return bool true if parameter is an error */