@@ -152,7 +152,7 @@ |
||
| 152 | 152 | * |
| 153 | 153 | * @throws \Exception if the configuration is invalid. |
| 154 | 154 | */ |
| 155 | - public static function parseStoreConfig(string|array $config): Store |
|
| 155 | + public static function parseStoreConfig(string | array $config): Store |
|
| 156 | 156 | { |
| 157 | 157 | if (is_string($config)) { |
| 158 | 158 | $arrayUtils = new Utils\Arrays(); |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | } |
| 110 | 110 | } |
| 111 | 111 | |
| 112 | - public static function loadModuleConfig(array $moduleConfig, StateData &$stateData): void |
|
| 112 | + public static function loadModuleConfig(array $moduleConfig, StateData & $stateData): void |
|
| 113 | 113 | { |
| 114 | 114 | $stateData->store = Store::parseStoreConfig($moduleConfig['store']); |
| 115 | 115 | |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | $frontendData = []; |
| 210 | 210 | $frontendData['challengeEncoded'] = $challengeEncoded; |
| 211 | 211 | $frontendData['state'] = []; |
| 212 | - foreach (['FIDO2Scope','FIDO2Username','FIDO2Displayname','requestTokenModel'] as $stateItem) { |
|
| 212 | + foreach (['FIDO2Scope', 'FIDO2Username', 'FIDO2Displayname', 'requestTokenModel'] as $stateItem) { |
|
| 213 | 213 | $frontendData['state'][$stateItem] = $state[$stateItem]; |
| 214 | 214 | } |
| 215 | 215 | |