@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | * @param \SimpleSAML\XML\SerializableElementInterface $elt |
| 60 | 60 | * @return string|null |
| 61 | 61 | */ |
| 62 | - function (SerializableElementInterface $elt) { |
|
| 62 | + function(SerializableElementInterface $elt) { |
|
| 63 | 63 | return ($elt instanceof Chunk) ? $elt->getNamespaceURI() : $elt::getNamespaceURI(); |
| 64 | 64 | }, |
| 65 | 65 | $elements, |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | /** |
| 121 | 121 | * @return array|\SimpleSAML\XML\XsNamespace |
| 122 | 122 | */ |
| 123 | - public function getElementNamespace(): array|NS |
|
| 123 | + public function getElementNamespace(): array | NS |
|
| 124 | 124 | { |
| 125 | 125 | Assert::true( |
| 126 | 126 | defined('static::XS_ANY_ELT_NAMESPACE'), |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * |
| 94 | 94 | * @return array<int, \SimpleSAML\XML\Attribute> $attributes |
| 95 | 95 | */ |
| 96 | - protected static function getAttributesNSFromXML(DOMElement $xml, NS|array $namespace = null): array { |
|
| 96 | + protected static function getAttributesNSFromXML(DOMElement $xml, NS | array $namespace = null): array { |
|
| 97 | 97 | $namespace = $namespace ?? static::XS_ANY_ATTR_NAMESPACE; |
| 98 | 98 | $exclusionList = static::getAttributeExclusions(); |
| 99 | 99 | $attributes = []; |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | * @param \SimpleSAML\XML\Attribute $elt |
| 180 | 180 | * @return string|null |
| 181 | 181 | */ |
| 182 | - function (Attribute $attr) { |
|
| 182 | + function(Attribute $attr) { |
|
| 183 | 183 | return $attr->getNamespaceURI(); |
| 184 | 184 | }, |
| 185 | 185 | $attributes, |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | /** |
| 240 | 240 | * @return array|\SimpleSAML\XML\XsNamespace |
| 241 | 241 | */ |
| 242 | - public function getAttributeNamespace(): array|NS |
|
| 242 | + public function getAttributeNamespace(): array | NS |
|
| 243 | 243 | { |
| 244 | 244 | Assert::true( |
| 245 | 245 | defined('static::XS_ANY_ATTR_NAMESPACE'), |