diff --git a/phalcon/Logger/LoggerFactory.zep b/phalcon/Logger/LoggerFactory.zep index a0547b4f1de..f6107f090bd 100644 --- a/phalcon/Logger/LoggerFactory.zep +++ b/phalcon/Logger/LoggerFactory.zep @@ -87,12 +87,6 @@ class LoggerFactory */ public function newInstance(string! name, array! adapters = []) -> { - return create_instance_params( - "Phalcon\\Logger", - [ - name, - adapters - ] - ); + return new Logger(name, adapters); } }