@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | ]; |
117 | 117 | } |
118 | 118 | |
119 | - $adfs_service_location = Module::getModuleURL('adfs') . '/idp/prp.php'; |
|
119 | + $adfs_service_location = Module::getModuleURL('adfs').'/idp/prp.php'; |
|
120 | 120 | $metaArray = [ |
121 | 121 | 'metadata-set' => 'adfs-idp-remote', |
122 | 122 | 'entityid' => $idpentityid, |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | $metaArray['RegistrationInfo'] = $idpmeta->getArray('RegistrationInfo'); |
179 | 179 | } |
180 | 180 | |
181 | - $metaflat = '$metadata[' . var_export($idpentityid, true) . '] = ' . var_export($metaArray, true) . ';'; |
|
181 | + $metaflat = '$metadata['.var_export($idpentityid, true).'] = '.var_export($metaArray, true).';'; |
|
182 | 182 | |
183 | 183 | $metaBuilder = new Metadata\SAMLBuilder($idpentityid); |
184 | 184 | $metaBuilder->addSecurityTokenServiceType($metaArray); |
@@ -208,8 +208,8 @@ discard block |
||
208 | 208 | $certdata = []; |
209 | 209 | foreach (array_keys($availableCerts) as $availableCert) { |
210 | 210 | $certdata[$availableCert]['name'] = $availableCert; |
211 | - $certdata[$availableCert]['url'] = Module::getModuleURL('saml/idp/certs.php') . |
|
212 | - '/' . $availableCert; |
|
211 | + $certdata[$availableCert]['url'] = Module::getModuleURL('saml/idp/certs.php'). |
|
212 | + '/'.$availableCert; |
|
213 | 213 | |
214 | 214 | $certdata[$availableCert]['comment'] = ''; |
215 | 215 | } |
@@ -250,20 +250,20 @@ discard block |
||
250 | 250 | Logger::info('ADFS - IdP.prp: Accessing ADFS IdP endpoint prp'); |
251 | 251 | |
252 | 252 | $idpEntityId = $this->metadata->getMetaDataCurrentEntityID('adfs-idp-hosted'); |
253 | - $idp = IdP::getById('adfs:' . $idpEntityId); |
|
253 | + $idp = IdP::getById('adfs:'.$idpEntityId); |
|
254 | 254 | |
255 | 255 | if (isset($_GET['wa'])) { |
256 | 256 | if ($_GET['wa'] === 'wsignout1.0') { |
257 | 257 | return new StreamedResponse( |
258 | 258 | /** @return void */ |
259 | - function () use ($idp) { |
|
259 | + function() use ($idp) { |
|
260 | 260 | ADFS::receiveLogoutMessage($idp); |
261 | 261 | } |
262 | 262 | ); |
263 | 263 | } elseif ($_GET['wa'] === 'wsignin1.0') { |
264 | 264 | return new StreamedResponse( |
265 | 265 | /** @return void */ |
266 | - function () use ($idp) { |
|
266 | + function() use ($idp) { |
|
267 | 267 | ADFS::receiveAuthnRequest($idp); |
268 | 268 | } |
269 | 269 | ); |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | |
278 | 278 | return new StreamedResponse( |
279 | 279 | /** @return void */ |
280 | - function () use ($idp, $assocId, $relayState, $logoutError) { |
|
280 | + function() use ($idp, $assocId, $relayState, $logoutError) { |
|
281 | 281 | $idp->handleLogoutResponse($assocId, $relayState, $logoutError); |
282 | 282 | } |
283 | 283 | ); |