]> git.mxchange.org Git - friendica.git/commitdiff
type-hints
authorPhilipp Holzer <admin@philipp.info>
Mon, 4 Feb 2019 08:35:01 +0000 (09:35 +0100)
committerPhilipp Holzer <admin@philipp.info>
Mon, 4 Feb 2019 08:35:01 +0000 (09:35 +0100)
src/Factory/LoggerFactory.php

index 658d2c9bee4523f27b49dfae93b771cd11452bc1..751a6357da84d4d3c00358196846979e949bfafb 100644 (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());