From 4ab3e6860f5750eef4d3cea13655ab198a419f01 Mon Sep 17 00:00:00 2001 From: Martin Jansen Date: Fri, 6 Jun 2003 16:09:01 +0000 Subject: [PATCH] * The argument of displayError() is a PEAR_Error instance. # Bug: 23932 --- pear/PEAR/Frontend/CLI.php | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.40.0