@@ -659,8 +659,8 @@ |
||
659 | 659 | } |
660 | 660 | |
661 | 661 | /** |
662 | - * @return string |
|
663 | - */ |
|
662 | + * @return string |
|
663 | + */ |
|
664 | 664 | public function getAttestationLevel() { |
665 | 665 | return $this->AAGUIDAssurance; |
666 | 666 | } |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | base64_decode($request->request->get('client_data_raw')), |
161 | 161 | $oneToken[0], |
162 | 162 | $oneToken[1], |
163 | - (int)$oneToken[4], // algo |
|
163 | + (int) $oneToken[4], // algo |
|
164 | 164 | base64_decode($request->request->get('signature')), |
165 | 165 | $debugEnabled |
166 | 166 | ); |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | |
217 | 217 | if ($debugEnabled) { |
218 | 218 | $response = new RunnableResponse( |
219 | - function (WebAuthnAuthenticationEvent $authObject, array $state) { |
|
219 | + function(WebAuthnAuthenticationEvent $authObject, array $state) { |
|
220 | 220 | echo $authObject->getDebugBuffer(); |
221 | 221 | echo $authObject->getValidateBuffer(); |
222 | 222 | echo "Debug mode, not continuing to " . ($state['FIDO2WantsRegister'] ? "credential registration page." : "destination."); |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | * In passwordless, we're on our own. The one thing we know is the |
241 | 241 | * username. |
242 | 242 | */ |
243 | - $state['Attributes'][$state['FIDO2AttributeStoringUsername']] = [ $state['FIDO2Username'] ]; |
|
243 | + $state['Attributes'][$state['FIDO2AttributeStoringUsername']] = [$state['FIDO2Username']]; |
|
244 | 244 | // now properly return our final state to the framework |
245 | 245 | Source::completeAuth($state); |
246 | 246 | } |