From c58d09e5b636771577c3e3652d4e95044a24b19e Mon Sep 17 00:00:00 2001 From: Nikolaos Dimopoulos Date: Thu, 26 Sep 2019 12:19:44 -0400 Subject: [PATCH] Corrected call --- phalcon/Logger/LoggerFactory.zep | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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); } }