]> git.mxchange.org Git - friendica.git/commitdiff
Fix PHPStan error, fix code style
authorArt4 <art4@wlabs.de>
Sun, 12 Jan 2025 13:04:49 +0000 (13:04 +0000)
committerArt4 <art4@wlabs.de>
Sun, 12 Jan 2025 13:04:49 +0000 (13:04 +0000)
src/Core/Logger/LoggerManager.php

index c60bce660f469c71327b34536d4c093821ead3e3..697756099d7892e3536d381ff84a7f3628ced3bb 100644 (file)
@@ -35,8 +35,6 @@ final class LoggerManager
        /**
         * Workaround: $logChannel must be static
         * because Dice always creates a new LoggerManager object
-        *
-        * @var LoggerInterface|null
         */
        private static string $logChannel = LogChannel::DEFAULT;
 
@@ -55,9 +53,9 @@ final class LoggerManager
                $this->config  = $config;
                $this->factory = $factory;
 
-               $this->debug     = (bool) $config->get('system', 'debugging') ?? 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;
+               $this->profiling = (bool) $config->get('system', 'profiling')  ?? false;
        }
 
        public function changeLogChannel(string $logChannel): void