Completed
Push — master ( f9cdf8...850158 )
by Tim
19s queued 15s
created
src/ExtendableElementTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @return list<\SimpleSAML\XML\SerializableElementInterface> $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
         $exclusionList = static::getElementExclusions();
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
              * @param \SimpleSAML\XML\SerializableElementInterface $elt
135 135
              * @return string|null
136 136
              */
137
-            function (SerializableElementInterface $elt) {
137
+            function(SerializableElementInterface $elt) {
138 138
                 return ($elt instanceof Chunk) ? $elt->getNamespaceURI() : $elt::getNamespaceURI();
139 139
             },
140 140
             $elements,
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     /**
203 203
      * @return array|\SimpleSAML\XML\XsNamespace
204 204
      */
205
-    public function getElementNamespace(): array|NS
205
+    public function getElementNamespace(): array | NS
206 206
     {
207 207
         Assert::true(
208 208
             defined('static::XS_ANY_ELT_NAMESPACE'),
Please login to merge, or discard this patch.