Passed
Pull Request — master (#2)
by Tim
02:57
created
lib/IdP/ADFS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -376,7 +376,7 @@
 block discarded – undo
376 376
         $wresult = ADFS::signResponse($response, $privateKeyFile, $certificateFile, $algo, $passphrase);
377 377
 
378 378
         $wctx = $state['adfs:wctx'];
379
-        $wreply = $state['adfs:wreply'] ? : $spMetadata->getValue('prp');
379
+        $wreply = $state['adfs:wreply'] ?: $spMetadata->getValue('prp');
380 380
         ADFS::postResponse($wreply, $wresult, $wctx);
381 381
     }
382 382
 
Please login to merge, or discard this patch.
lib/AdfsController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -255,13 +255,13 @@  discard block
 block discarded – undo
255 255
         if (isset($_GET['wa'])) {
256 256
             if ($_GET['wa'] === 'wsignout1.0') {
257 257
                 return new StreamedResponse(
258
-                    function () use ($idp) {
258
+                    function() use ($idp) {
259 259
                         ADFS::receiveLogoutMessage($idp);
260 260
                     }
261 261
                 );
262 262
             } elseif ($_GET['wa'] === 'wsignin1.0') {
263 263
                 return new StreamedResponse(
264
-                    function () use ($idp) {
264
+                    function() use ($idp) {
265 265
                         ADFS::receiveAuthnRequest($idp);
266 266
                     }
267 267
                 );
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
             $logoutError = null; // null on success, or an instance of a \SimpleSAML\Error\Exception on failure.
275 275
 
276 276
             return new StreamedResponse(
277
-                function () use ($idp, $assocId, $relayState, $logoutError) {
277
+                function() use ($idp, $assocId, $relayState, $logoutError) {
278 278
                     $idp->handleLogoutResponse($assocId, $relayState, $logoutError);
279 279
                 }
280 280
             );
Please login to merge, or discard this patch.