From: Martin Jansen Date: Fri, 6 Jun 2003 16:09:01 +0000 (+0000) Subject: * The argument of displayError() is a PEAR_Error instance. X-Git-Tag: RELEASE_1_0_2~388 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ab3e6860f5750eef4d3cea13655ab198a419f01;p=php * The argument of displayError() is a PEAR_Error instance. # Bug: 23932 --- diff --git a/pear/PEAR/Frontend/CLI.php b/pear/PEAR/Frontend/CLI.php index ba30702813..a42b61fb9c 100644 --- a/pear/PEAR/Frontend/CLI.php +++ b/pear/PEAR/Frontend/CLI.php @@ -91,6 +91,9 @@ class PEAR_Frontend_CLI extends PEAR // }}} // {{{ displayError(eobj) + /** + * @param object PEAR_Error object + */ function displayError($eobj) { return $this->_displayLine($eobj->getMessage()); @@ -99,6 +102,9 @@ class PEAR_Frontend_CLI extends PEAR // }}} // {{{ displayFatalError(eobj) + /** + * @param object PEAR_Error object + */ function displayFatalError($eobj) { $this->displayError($eobj);