@@ -41,7 +41,7 @@ discard block |
||
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 |
||
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 | } |