Skip to content

Commit 983dd29

Browse files
committed
* update PEAR::isError phpdoc
1 parent 4ef5380 commit 983dd29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pear/PEAR.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ function registerShutdownFunc($func, $args = array())
223223
* Tell whether a value is a PEAR error.
224224
*
225225
* @param mixed $data the value to test
226+
* @param int $code if $data is an error object, return true
227+
* only if $obj->getCode() == $code
226228
* @access public
227229
* @return bool true if parameter is an error
228230
*/

0 commit comments

Comments
 (0)