]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Logger.php
And moving the block back to the old place
[friendica.git] / src / Core / Logger.php
index a2e587342d528d1734a4984b0ae6ef33148b03d4..3cb22e1e478aeef78dc2e2467af3fe35523c4771 100644 (file)
@@ -68,7 +68,7 @@ class Logger extends BaseObject
         *
         * @param LoggerInterface $logger The Logger instance of this Application
         */
-       public static function setLogger($logger)
+       public static function init(LoggerInterface $logger)
        {
                self::$logger = $logger;
        }
@@ -78,7 +78,7 @@ class Logger extends BaseObject
         *
         * @param LoggerInterface $logger The Logger instance of this Application
         */
-       public static function setDevLogger($logger)
+       public static function setDevLogger(LoggerInterface $logger)
        {
                self::$devLogger = $logger;
        }