@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | return new StreamedResponse( |
| 90 | - function () use ($idp, &$state) { |
|
| 90 | + function() use ($idp, &$state) { |
|
| 91 | 91 | $idp->handleAuthenticationRequest($state); |
| 92 | 92 | }, |
| 93 | 93 | ); |
@@ -458,7 +458,7 @@ discard block |
||
| 458 | 458 | $xmlResponse = $requestSecurityTokenResponse->toXML(); |
| 459 | 459 | $wresult = $xmlResponse->ownerDocument->saveXML($xmlResponse); |
| 460 | 460 | $wctx = $state['adfs:wctx']; |
| 461 | - $wreply = $state['adfs:wreply'] ? : $spMetadata->getValue('prp'); |
|
| 461 | + $wreply = $state['adfs:wreply'] ?: $spMetadata->getValue('prp'); |
|
| 462 | 462 | ADFS::postResponse($wreply, $wresult, $wctx); |
| 463 | 463 | } |
| 464 | 464 | |
@@ -274,7 +274,7 @@ |
||
| 274 | 274 | $attr[] = new Attribute( |
| 275 | 275 | name: $matches[2], |
| 276 | 276 | nameFormat: $matches[1] === C::NAMEFORMAT_UNSPECIFIED ? null : $matches[1], |
| 277 | - attributeValue: $attrValues, |
|
| 277 | + attributeValue : $attrValues, |
|
| 278 | 278 | ); |
| 279 | 279 | } else { |
| 280 | 280 | $attr[] = new Attribute( |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | $wa = $request->query->get('wa'); |
| 113 | 113 | if ($wa === 'wsignout1.0') { |
| 114 | 114 | return new StreamedResponse( |
| 115 | - function () use ($idp) { |
|
| 115 | + function() use ($idp) { |
|
| 116 | 116 | ADFS_IDP::receiveLogoutMessage($idp); |
| 117 | 117 | }, |
| 118 | 118 | ); |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | $logoutError = null; |
| 131 | 131 | |
| 132 | 132 | return new StreamedResponse( |
| 133 | - function () use ($idp, /** @scrutinizer ignore-type */ $assocId, $relayState, $logoutError) { |
|
| 133 | + function() use ($idp, /** @scrutinizer ignore-type */ $assocId, $relayState, $logoutError) { |
|
| 134 | 134 | $idp->handleLogoutResponse($assocId, $relayState, $logoutError); |
| 135 | 135 | }, |
| 136 | 136 | ); |