From 0d096cf32e3ea9adf77f6323ef4fc45213a8a1ff Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 4 Feb 2019 09:35:01 +0100 Subject: [PATCH] type-hints --- src/Factory/LoggerFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Factory/LoggerFactory.php b/src/Factory/LoggerFactory.php index 658d2c9bee..751a6357da 100644 --- a/src/Factory/LoggerFactory.php +++ b/src/Factory/LoggerFactory.php @@ -25,7 +25,7 @@ class LoggerFactory * * @return LoggerInterface The PSR-3 compliant logger instance */ - public static function create($channel, $config = null) + public static function create($channel, ConfigCache $config = null) { $logger = new Monolog\Logger($channel); $logger->pushProcessor(new Monolog\Processor\PsrLogMessageProcessor()); -- 2.39.5