@@ -106,7 +106,7 @@ |
||
| 106 | 106 | /** @var \SimpleSAML\Module\cas\Auth\Source\CAS|null $source */ |
| 107 | 107 | $source = $this->authSource::getById($sourceId); |
| 108 | 108 | if ($source === null) { |
| 109 | - throw new Exception('Could not find authentication source with id ' . $sourceId); |
|
| 109 | + throw new Exception('Could not find authentication source with id '.$sourceId); |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | $source->finalStep($state); |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | |
| 237 | 237 | $config = Configuration::loadFromArray( |
| 238 | 238 | $this->ldapConfig, |
| 239 | - 'Authentication source ' . var_export($this->authId, true), |
|
| 239 | + 'Authentication source '.var_export($this->authId, true), |
|
| 240 | 240 | ); |
| 241 | 241 | if (!empty($this->ldapConfig['servers'])) { |
| 242 | 242 | $ldap = new Ldap( |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | * 1: array<string, list<string>> |
| 321 | 321 | * } |
| 322 | 322 | */ |
| 323 | - private function parseAuthenticationSuccess(CasAuthnSuccess|SlateAuthnSuccess $message): array |
|
| 323 | + private function parseAuthenticationSuccess(CasAuthnSuccess | SlateAuthnSuccess $message): array |
|
| 324 | 324 | { |
| 325 | 325 | /** @var array<string, list<string>> $result */ |
| 326 | 326 | $result = []; |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | // Key selection rule |
| 348 | 348 | $key = ($prefix === '' || $prefix === 'cas') |
| 349 | 349 | ? $localName |
| 350 | - : ($prefix . ':' . $localName); |
|
| 350 | + : ($prefix.':'.$localName); |
|
| 351 | 351 | |
| 352 | 352 | $value = trim($xmlElement->textContent ?? ''); |
| 353 | 353 | |
@@ -372,7 +372,7 @@ discard block |
||
| 372 | 372 | * @return void |
| 373 | 373 | */ |
| 374 | 374 | private function parseAuthenticationSuccessMetadata( |
| 375 | - CasAuthnSuccess|SlateAuthnSuccess $message, |
|
| 375 | + CasAuthnSuccess | SlateAuthnSuccess $message, |
|
| 376 | 376 | array &$attributes, |
| 377 | 377 | ): void { |
| 378 | 378 | if (!method_exists($message, 'getElements')) { |
@@ -399,7 +399,7 @@ discard block |
||
| 399 | 399 | // and just localName when there is none. |
| 400 | 400 | $key = ($prefix === '') |
| 401 | 401 | ? $localName |
| 402 | - : ($prefix . ':' . $localName); |
|
| 402 | + : ($prefix.':'.$localName); |
|
| 403 | 403 | |
| 404 | 404 | $value = trim($element->getXML()->textContent ?? ''); |
| 405 | 405 | |