]> git.mxchange.org Git - friendica.git/commitdiff
Fix code style
authorArt4 <art4@wlabs.de>
Sun, 12 Jan 2025 08:23:45 +0000 (08:23 +0000)
committerArt4 <art4@wlabs.de>
Sun, 12 Jan 2025 08:23:45 +0000 (08:23 +0000)
src/Core/Logger/LoggerManager.php
src/Core/Worker.php

index b3f23dae017bbd73074733e18a44d4377e03b32b..c60bce660f469c71327b34536d4c093821ead3e3 100644 (file)
@@ -55,9 +55,9 @@ final class LoggerManager
                $this->config  = $config;
                $this->factory = $factory;
 
-               $this->debug      = (bool) $config->get('system', 'debugging') ?? false;
-               $this->logLevel   = (string) $config->get('system', 'loglevel') ?? LogLevel::NOTICE;
-               $this->profiling  = (bool) $config->get('system', 'profiling') ?? false;
+               $this->debug     = (bool) $config->get('system', 'debugging') ?? false;
+               $this->logLevel  = (string) $config->get('system', 'loglevel') ?? LogLevel::NOTICE;
+               $this->profiling = (bool) $config->get('system', 'profiling') ?? false;
        }
 
        public function changeLogChannel(string $logChannel): void
index a3252112c35e02092de154c3a4c89b081ae70b42..c84de94f6335a821dbb9c7ea8ab1c9799da9316d 100644 (file)
@@ -543,7 +543,7 @@ class Worker
 
                $logger = DI::logger();
 
-               if ($logger instanceOf WorkerLogger) {
+               if ($logger instanceof WorkerLogger) {
                        $logger->setFunctionName($funcname);
                }