@@ -183,7 +183,7 @@ |
||
183 | 183 | $id = $this->authState::saveState($state, 'webauthn:request'); |
184 | 184 | if ($debugEnabled === true) { |
185 | 185 | $response = new StreamedResponse(); |
186 | - $response->setCallback(function () { |
|
186 | + $response->setCallback(function() { |
|
187 | 187 | echo $regObject->getDebugBuffer(); |
188 | 188 | echo $regObject->getValidateBuffer(); |
189 | 189 | echo "<form id='regform' method='POST' action='" . |
@@ -130,7 +130,7 @@ |
||
130 | 130 | $frontendData = []; |
131 | 131 | $frontendData['challengeEncoded'] = $challengeEncoded; |
132 | 132 | $frontendData['state'] = []; |
133 | - foreach (['Source', 'FIDO2Scope','FIDO2Username','FIDO2Displayname','requestTokenModel'] as $stateItem) { |
|
133 | + foreach (['Source', 'FIDO2Scope', 'FIDO2Username', 'FIDO2Displayname', 'requestTokenModel'] as $stateItem) { |
|
134 | 134 | $frontendData['state'][$stateItem] = $state[$stateItem]; |
135 | 135 | } |
136 | 136 |
@@ -175,7 +175,7 @@ |
||
175 | 175 | |
176 | 176 | if ($debugEnabled) { |
177 | 177 | $response = new StreamedResponse(); |
178 | - $response->setCallback(function () { |
|
178 | + $response->setCallback(function() { |
|
179 | 179 | echo $authObject->getDebugBuffer(); |
180 | 180 | echo $authObject->getValidateBuffer(); |
181 | 181 | echo "Debug mode, not continuing to " . ($state['FIDO2WantsRegister'] ? "credential registration page." : "destination."); |