cvs: php4 /pear/PEAR/Frontend CLI.php
| From: | Martin Jansen | Date: | Fri, 06 Jun 2003 16:09:01 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Frontend CLI.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-10734@lists.php.net to get a copy of this message | ||
mj Fri Jun 6 12:09:01 2003 EDT
Modified files:
/php4/pear/PEAR/Frontend CLI.php
Log:
* The argument of displayError() is a PEAR_Error instance.
# Bug: 23932
Index: php4/pear/PEAR/Frontend/CLI.php
diff -u php4/pear/PEAR/Frontend/CLI.php:1.31 php4/pear/PEAR/Frontend/CLI.php:1.32
--- php4/pear/PEAR/Frontend/CLI.php:1.31 Thu Apr 3 18:12:40 2003
+++ php4/pear/PEAR/Frontend/CLI.php Fri Jun 6 12:09:01 2003
@@ -16,7 +16,7 @@
| Author: Stig Sæther Bakken <ssb@php.net> |
+----------------------------------------------------------------------+
- $Id: CLI.php,v 1.31 2003/04/03 23:12:40 ssb Exp $
+ $Id: CLI.php,v 1.32 2003/06/06 16:09:01 mj Exp $
*/
require_once "PEAR.php";
@@ -91,6 +91,9 @@
// }}}
// {{{ displayError(eobj)
+ /**
+ * @param object PEAR_Error object
+ */
function displayError($eobj)
{
return $this->_displayLine($eobj->getMessage());
@@ -99,6 +102,9 @@
// }}}
// {{{ displayFatalError(eobj)
+ /**
+ * @param object PEAR_Error object
+ */
function displayFatalError($eobj)
{
$this->displayError($eobj);