From 185a4baedd7686b53a8e1b242d1a857b0e1da61e Mon Sep 17 00:00:00 2001 From: Martin Jansen Date: Sun, 18 May 2003 19:40:04 +0000 Subject: [PATCH] * Update PHPDoc --- pear/PEAR.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.50.1