Passed
Pull Request — master (#31)
by Tim
02:23
created
lib/Controller/RegProcess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
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='" .
Please login to merge, or discard this patch.
lib/Controller/WebAuthn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/Controller/AuthProcess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
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.");
Please login to merge, or discard this patch.