Passed
Pull Request — master (#3)
by Tim
02:21
created
lib/Config/Logpeek.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
     {
38 38
         $configUtils = new Utils\Config();
39 39
         $configDir = $configUtils->getConfigDir();
40
-        $yamlConfig = Yaml::parse(file_get_contents($configDir . '/' . $defaultConfigFile)) ?? [];
40
+        $yamlConfig = Yaml::parse(file_get_contents($configDir.'/'.$defaultConfigFile)) ?? [];
41 41
         if (isset($yamlConfig['logFile'])) {
42 42
             $this->setLogfile($yamlConfig['logFile']);
43 43
         } else {
44 44
             $config = Configuration::getInstance();
45 45
             $loggingDir = $config->getPathValue('loggingdir', 'log/');
46
-            $this->setLogfile($loggingDir . $config->getString('logging.logfile', 'simplesamlphp.log'));
46
+            $this->setLogfile($loggingDir.$config->getString('logging.logfile', 'simplesamlphp.log'));
47 47
         }
48 48
 
49 49
         $this->setLines($yamlConfig['lines'] ?? self::DEFAULT_LINES);
Please login to merge, or discard this patch.