summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2003-02-10 14:27:21 +0000
committerStig Bakken <ssb@php.net>2003-02-10 14:27:21 +0000
commit983dd29a7eb205cb877bfba69b13511596369e8f (patch)
treedb7eeda63ce7596a7268dbd6b401db7dd9374167 /pear
parent4ef53806f485c47e14b3c4b00aa01c99efc8e117 (diff)
downloadphp-git-983dd29a7eb205cb877bfba69b13511596369e8f.tar.gz
* update PEAR::isError phpdoc
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
*/