Passed
Push — master ( 05156b...d9597f )
by Tim
01:29
created
src/ExtendableAttributesTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'),
Please login to merge, or discard this patch.
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.