@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * |
| 43 | 43 | * @return array<int, \SimpleSAML\XML\AbstractElement> $elements |
| 44 | 44 | */ |
| 45 | - protected static function getChildElementsFromXML(DOMElement $xml, NS|array $namespace = null): array |
|
| 45 | + protected static function getChildElementsFromXML(DOMElement $xml, NS | array $namespace = null): array |
|
| 46 | 46 | { |
| 47 | 47 | $namespace = $namespace ?? static::XS_ANY_ELT_NAMESPACE; |
| 48 | 48 | $registry = ElementRegistry::getInstance(); |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * @param \SimpleSAML\XML\SerializableElementInterface $elt |
| 141 | 141 | * @return string|null |
| 142 | 142 | */ |
| 143 | - function (SerializableElementInterface $elt) { |
|
| 143 | + function(SerializableElementInterface $elt) { |
|
| 144 | 144 | return ($elt instanceof Chunk) ? $elt->getNamespaceURI() : $elt::getNamespaceURI(); |
| 145 | 145 | }, |
| 146 | 146 | $elements, |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | /** |
| 202 | 202 | * @return array|\SimpleSAML\XML\XsNamespace |
| 203 | 203 | */ |
| 204 | - public function getElementNamespace(): array|NS |
|
| 204 | + public function getElementNamespace(): array | NS |
|
| 205 | 205 | { |
| 206 | 206 | Assert::true( |
| 207 | 207 | defined('static::XS_ANY_ELT_NAMESPACE'), |