Passed
Push — master ( 3b7f5f...a1520d )
by Tim
01:35
created
src/ExtendableElementTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'),
Please login to merge, or discard this patch.
src/TestUtils/ArrayizableElementTestTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
     /**
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
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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'),
Please login to merge, or discard this patch.