summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansen <mj@php.net>2003-06-06 16:09:01 +0000
committerMartin Jansen <mj@php.net>2003-06-06 16:09:01 +0000
commit4ab3e6860f5750eef4d3cea13655ab198a419f01 (patch)
tree788d8cba80fa66cdb5590610033e474097acda7f
parentb4cf8debcebd479db2d97c747a1e3fcc2f6a66f8 (diff)
downloadphp-git-4ab3e6860f5750eef4d3cea13655ab198a419f01.tar.gz
* The argument of displayError() is a PEAR_Error instance.
# Bug: 23932
-rw-r--r--pear/PEAR/Frontend/CLI.php6
1 files changed, 6 insertions, 0 deletions
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);