Passed
Push — master ( 02bc56...f9cdf8 )
by Tim
03:30 queued 01:30
created
src/ExtendableElementTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'),
Please login to merge, or discard this patch.
src/ExtendableAttributesTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
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
     {
98 98
         $namespace = $namespace ?? static::XS_ANY_ATTR_NAMESPACE;
99 99
         $exclusionList = static::getAttributeExclusions();
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
              * @param \SimpleSAML\XML\Attribute $elt
181 181
              * @return string|null
182 182
              */
183
-            function (Attribute $attr) {
183
+            function(Attribute $attr) {
184 184
                 return $attr->getNamespaceURI();
185 185
             },
186 186
             $attributes,
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     /**
241 241
      * @return array|\SimpleSAML\XML\XsNamespace
242 242
      */
243
-    public function getAttributeNamespace(): array|NS
243
+    public function getAttributeNamespace(): array | NS
244 244
     {
245 245
         Assert::true(
246 246
             defined('static::XS_ANY_ATTR_NAMESPACE'),
Please login to merge, or discard this patch.