diff --git a/src/Logger.php b/src/Logger.php index b2c5ddcd..3eb0cb89 100644 --- a/src/Logger.php +++ b/src/Logger.php @@ -227,7 +227,7 @@ protected function _constructFromConfig($type, $config, $namespace) ); } - return call_user_func(array($className, 'factory'), $params); + return $className::factory($params); } /**