Passed
Pull Request — master (#3)
by Tim
03:11 queued 48s
created
lib/Config/Logpeek.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         if ($logFile === null) {
48 48
             $config = Configuration::getInstance();
49 49
             $loggingDir = $config->getPathValue('loggingdir', 'log/');
50
-            $logFile = $loggingDir . $config->getString('logging.logfile', 'simplesamlphp.log');
50
+            $logFile = $loggingDir.$config->getString('logging.logfile', 'simplesamlphp.log');
51 51
         }
52 52
 
53 53
         $this->setLogFile($logFile);
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     {
124 124
         $configUtils = new Utils\Config();
125 125
         $configDir = $configUtils->getConfigDir();
126
-        include($configDir . '/' . $configFile);
126
+        include($configDir.'/'.$configFile);
127 127
 
128 128
         return static::fromArray($config ?? []);
129 129
     }
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     {
138 138
         $configUtils = new Utils\Config();
139 139
         $configDir = $configUtils->getConfigDir();
140
-        $yamlConfig = Yaml::parse(file_get_contents($configDir . '/' . $configFile));
140
+        $yamlConfig = Yaml::parse(file_get_contents($configDir.'/'.$configFile));
141 141
 
142 142
         return static::fromArray($yamlConfig ?? []);
143 143
     }
Please login to merge, or discard this patch.