@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | * @param \SimpleSAML\XML\Attribute $elt |
132 | 132 | * @return string|null |
133 | 133 | */ |
134 | - function (Attribute $attr) { |
|
134 | + function(Attribute $attr) { |
|
135 | 135 | return $attr->getNamespaceURI(); |
136 | 136 | }, |
137 | 137 | $attributes, |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | /** |
185 | 185 | * @return array|string |
186 | 186 | */ |
187 | - public function getAttributeNamespace(): array|string |
|
187 | + public function getAttributeNamespace(): array | string |
|
188 | 188 | { |
189 | 189 | Assert::true( |
190 | 190 | defined('static::XS_ANY_ATTR_NAMESPACE'), |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @param \SimpleSAML\XML\ElementInterface $elt |
59 | 59 | * @return string|null |
60 | 60 | */ |
61 | - function (ElementInterface $elt) { |
|
61 | + function(ElementInterface $elt) { |
|
62 | 62 | /** @psalm-var \SimpleSAML\XML\Chunk|\SimpleSAML\XML\AbstractElement $elt */ |
63 | 63 | return ($elt instanceof Chunk) ? $elt->getNamespaceURI() : $elt::getNamespaceURI(); |
64 | 64 | }, |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | /** |
123 | 123 | * @return array|string |
124 | 124 | */ |
125 | - public function getElementNamespace(): array|string |
|
125 | + public function getElementNamespace(): array | string |
|
126 | 126 | { |
127 | 127 | Assert::true( |
128 | 128 | defined('static::XS_ANY_ELT_NAMESPACE'), |
@@ -19,7 +19,7 @@ |
||
19 | 19 | protected static ?string $testedClass; |
20 | 20 | |
21 | 21 | /** @var array|null */ |
22 | - protected static ?array $arrayRepresentation; |
|
22 | + protected static ? array $arrayRepresentation; |
|
23 | 23 | |
24 | 24 | |
25 | 25 | /** |