]> granicus.if.org Git - php/commitdiff
* Update PHPDoc
authorMartin Jansen <mj@php.net>
Sun, 18 May 2003 19:40:04 +0000 (19:40 +0000)
committerMartin Jansen <mj@php.net>
Sun, 18 May 2003 19:40:04 +0000 (19:40 +0000)
pear/PEAR.php

index 00977e6ab9a55e2b039e1a1ad2e1a4820b9823e3..1f15932821a68b06baba570efef08d4e26d4f827 100644 (file)
@@ -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
      */