type-hints

This commit is contained in:
Philipp Holzer 2019-02-04 09:35:01 +01:00
parent 4b82e47034
commit 0d096cf32e
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5

View File

@ -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());