From: Martin Jansen Date: Sun, 18 May 2003 19:40:04 +0000 (+0000) Subject: * Update PHPDoc X-Git-Tag: RELEASE_1_0_2~761 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=185a4baedd7686b53a8e1b242d1a857b0e1da61e;p=php * Update PHPDoc --- diff --git a/pear/PEAR.php b/pear/PEAR.php index 00977e6ab9..1f15932821 100644 --- a/pear/PEAR.php +++ b/pear/PEAR.php @@ -224,7 +224,9 @@ class PEAR * * @param mixed $data the value to test * @param int $code if $data is an error object, return true - * only if $obj->getCode() == $code + * only if $code is a string and + * $obj->getMessage() == $code or + * $code is an integer and $obj->getCode() == $code * @access public * @return bool true if parameter is an error */