@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | * |
| 92 | 92 | * @return list<\SimpleSAML\XML\Attribute> $attributes |
| 93 | 93 | */ |
| 94 | - protected static function getAttributesNSFromXML(DOMElement $xml, string|array $namespace = null): array |
|
| 94 | + protected static function getAttributesNSFromXML(DOMElement $xml, string | array $namespace = null): array |
|
| 95 | 95 | { |
| 96 | 96 | $namespace = $namespace ?? static::XS_ANY_ATTR_NAMESPACE; |
| 97 | 97 | $attributes = []; |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | * @param \SimpleSAML\XML\Attribute $elt |
| 185 | 185 | * @return string|null |
| 186 | 186 | */ |
| 187 | - function (Attribute $attr) { |
|
| 187 | + function(Attribute $attr) { |
|
| 188 | 188 | return $attr->getNamespaceURI(); |
| 189 | 189 | }, |
| 190 | 190 | $attributes, |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | /** |
| 238 | 238 | * @return array|string |
| 239 | 239 | */ |
| 240 | - public function getAttributeNamespace(): array|string |
|
| 240 | + public function getAttributeNamespace(): array | string |
|
| 241 | 241 | { |
| 242 | 242 | Assert::true( |
| 243 | 243 | defined('static::XS_ANY_ATTR_NAMESPACE'), |