diff --git a/src/Core/Logger/LoggerManager.php b/src/Core/Logger/LoggerManager.php index b3f23dae01..c60bce660f 100644 --- a/src/Core/Logger/LoggerManager.php +++ b/src/Core/Logger/LoggerManager.php @@ -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 diff --git a/src/Core/Worker.php b/src/Core/Worker.php index a3252112c3..c84de94f63 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -543,7 +543,7 @@ class Worker $logger = DI::logger(); - if ($logger instanceOf WorkerLogger) { + if ($logger instanceof WorkerLogger) { $logger->setFunctionName($funcname); }