This commit is contained in:
Paula Quispe
2019-05-29 09:53:13 -04:00
parent d93c713297
commit 05d713c847
9 changed files with 10 additions and 10 deletions

View File

@@ -126,7 +126,7 @@ class Log
* @access public
* @since Log 1.0
*/
function &factory($handler, $name = '', $ident = '', $conf = array(),
public static function &factory($handler, $name = '', $ident = '', $conf = array(),
$level = PEAR_LOG_DEBUG)
{
$handler = strtolower($handler);
@@ -188,7 +188,7 @@ class Log
* @access public
* @since Log 1.0
*/
function &singleton($handler, $name = '', $ident = '', $conf = array(),
public static function &singleton($handler, $name = '', $ident = '', $conf = array(),
$level = PEAR_LOG_DEBUG)
{
static $instances;