@@ -376,7 +376,7 @@ |
||
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 |
@@ -255,13 +255,13 @@ discard block |
||
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 |
||
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 | ); |