@@ -229,7 +229,7 @@ |
||
| 229 | 229 | Assert::maxCount(array_unique($types), 1, 'Multiple class types cannot be used.'); |
| 230 | 230 | |
| 231 | 231 | $languages = array_map( |
| 232 | - function ($elt) { |
|
| 232 | + function($elt) { |
|
| 233 | 233 | return $elt->getLanguage(); |
| 234 | 234 | }, |
| 235 | 235 | $elements, |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * within a given <mdrpi:RegistrationInfo>, for a given language |
| 38 | 38 | */ |
| 39 | 39 | $languages = array_map( |
| 40 | - function ($rp) { |
|
| 40 | + function($rp) { |
|
| 41 | 41 | return $rp->getLanguage(); |
| 42 | 42 | }, |
| 43 | 43 | $registrationPolicy, |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * within a given <mdrpi:UsageInfo>, for a given language |
| 40 | 40 | */ |
| 41 | 41 | $languages = array_map( |
| 42 | - function ($up) { |
|
| 42 | + function($up) { |
|
| 43 | 43 | return $up->getLanguage(); |
| 44 | 44 | }, |
| 45 | 45 | $usagePolicy, |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * @throws \Exception |
| 36 | 36 | * @return string|false The XML or false on error |
| 37 | 37 | */ |
| 38 | - public function getOutputToSend(Message $message): string|false |
|
| 38 | + public function getOutputToSend(Message $message): string | false |
|
| 39 | 39 | { |
| 40 | 40 | // In the Artifact Resolution profile, this will be an ArtifactResolve |
| 41 | 41 | // containing another message (e.g. a Response), however in the ECP |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * |
| 19 | 19 | * @return null|array|\Traversable |
| 20 | 20 | */ |
| 21 | - public function getKeys(): Traversable|array|null; |
|
| 21 | + public function getKeys(): Traversable | array | null; |
|
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | /** |
| 21 | 21 | * @return array|\Traversable|null |
| 22 | 22 | */ |
| 23 | - public function getKeys(): Traversable|array|null |
|
| 23 | + public function getKeys(): Traversable | array | null |
|
| 24 | 24 | { |
| 25 | 25 | return $this->get('keys'); |
| 26 | 26 | } |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | $required = false; |
| 92 | 92 | } |
| 93 | 93 | $privateKeys = $this->get('privateKeys'); |
| 94 | - $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) { |
|
| 94 | + $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) { |
|
| 95 | 95 | return $key->getName() === $name; |
| 96 | 96 | }); |
| 97 | 97 | |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * @return null|array|\Traversable |
| 23 | 23 | */ |
| 24 | - public function getKeys(): Traversable|array|null |
|
| 24 | + public function getKeys(): Traversable | array | null |
|
| 25 | 25 | { |
| 26 | 26 | return $this->get('keys'); |
| 27 | 27 | } |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $required = false; |
| 93 | 93 | } |
| 94 | 94 | $privateKeys = $this->get('privateKeys'); |
| 95 | - $key = array_filter($privateKeys, function (PrivateKey $key) use ($name) { |
|
| 95 | + $key = array_filter($privateKeys, function(PrivateKey $key) use ($name) { |
|
| 96 | 96 | return $key->getName() === $name; |
| 97 | 97 | }); |
| 98 | 98 | |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * @param \SimpleSAML\SAML2\Assertion\Validation\Result $result |
| 19 | 19 | * @return void |
| 20 | 20 | */ |
| 21 | - public function validate(Assertion|MockInterface $assertion, Result $result): void |
|
| 21 | + public function validate(Assertion | MockInterface $assertion, Result $result): void |
|
| 22 | 22 | { |
| 23 | 23 | $notValidOnOrAfterTimestamp = $assertion->getNotOnOrAfter(); |
| 24 | 24 | if (($notValidOnOrAfterTimestamp !== null) && ($notValidOnOrAfterTimestamp <= (Temporal::getTime() - 60))) { |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * @param \SimpleSAML\SAML2\Assertion\Validation\Result $result |
| 19 | 19 | * @return void |
| 20 | 20 | */ |
| 21 | - public function validate(Assertion|MockInterface $assertion, Result $result): void |
|
| 21 | + public function validate(Assertion | MockInterface $assertion, Result $result): void |
|
| 22 | 22 | { |
| 23 | 23 | $sessionNotOnOrAfterTimestamp = $assertion->getSessionNotOnOrAfter(); |
| 24 | 24 | $currentTime = Temporal::getTime(); |