Passed
Pull Request — master (#27)
by Tim
01:48
created
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
         $namespace = $namespace ?? static::XS_ANY_ATTR_NAMESPACE;
98 98
         $exclusionList = static::getAttributeExclusions();
99 99
         $attributes = [];
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'),
Please login to merge, or discard this patch.