summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
Diffstat (limited to 'pear')
-rw-r--r--pear/PEAR.php2
1 files changed, 2 insertions, 0 deletions
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
*/