Passed
Push — master ( ee8c83...2ef946 )
by Jaime Pérez
04:32 queued 02:10
created
lib/WebAuthn/AAGUID.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected function __construct()
43 43
     {
44
-        $path = SSPConfig::getConfigDir().'/'.self::AAGUID_CONFIG_FILE;
44
+        $path = SSPConfig::getConfigDir() . '/' . self::AAGUID_CONFIG_FILE;
45 45
         if (!file_exists($path)) {
46 46
             Logger::warning('Missing "webauthn_tokens.json" configuration file. No device will be recognized.');
47 47
             return null;
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $json = json_decode($data, true);
52 52
         if (!is_array($json)) {
53 53
             // there was probably an error decoding the config, log the error and pray for the best
54
-            Logger::warning('Broken configuration file "'.$path.'": could not JSON-decode it.');
54
+            Logger::warning('Broken configuration file "' . $path . '": could not JSON-decode it.');
55 55
         } else {
56 56
             $this->dictionary = $json;
57 57
         }
Please login to merge, or discard this patch.