From 983dd29a7eb205cb877bfba69b13511596369e8f Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Mon, 10 Feb 2003 14:27:21 +0000 Subject: [PATCH] * update PEAR::isError phpdoc --- pear/PEAR.php | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.50.1