Passed
Push — master ( 90528b...cd68f4 )
by Tim
02:32
created
src/XML/wst/AbstractStatusCodeOpenEnum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function __construct(array $values)
33 33
     {
34 34
         $values = array_map(
35
-            function (StatusCodeEnum|string $v): string {
35
+            function(StatusCodeEnum | string $v): string {
36 36
                 return ($v instanceof StatusCodeEnum) ? $v->value : $v;
37 37
             },
38 38
             $values,
Please login to merge, or discard this patch.
src/XML/wst/AbstractKeyTypeOpenEnum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function __construct(array $values)
33 33
     {
34 34
         $values = array_map(
35
-            function (KeyTypeEnum|string $v): string {
35
+            function(KeyTypeEnum | string $v): string {
36 36
                 return ($v instanceof KeyTypeEnum) ? $v->value : $v;
37 37
             },
38 38
             $values,
Please login to merge, or discard this patch.
src/XML/wst/AbstractComputedKeyOpenEnum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function __construct(array $values)
33 33
     {
34 34
         $values = array_map(
35
-            function (ComputedKeyEnum|string $v): string {
35
+            function(ComputedKeyEnum | string $v): string {
36 36
                 return ($v instanceof ComputedKeyEnum) ? $v->value : $v;
37 37
             },
38 38
             $values,
Please login to merge, or discard this patch.
src/XML/wst/AbstractBinarySecretType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     ) {
46 46
         if ($Type !== null) {
47 47
             $Type = array_map(
48
-                function (BinarySecretTypeEnum|string $v): string {
48
+                function(BinarySecretTypeEnum | string $v): string {
49 49
                     return ($v instanceof BinarySecretTypeEnum) ? $v->value : $v;
50 50
                 },
51 51
                 $Type,
Please login to merge, or discard this patch.
src/XML/wst/AbstractRequestTypeOpenEnum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function __construct(array $values)
33 33
     {
34 34
         $values = array_map(
35
-            function (RequestTypeEnum|string $v): string {
35
+            function(RequestTypeEnum | string $v): string {
36 36
                 return ($v instanceof RequestTypeEnum) ? $v->value : $v;
37 37
             },
38 38
             $values,
Please login to merge, or discard this patch.
src/XML/auth/AbstractClaimType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         protected ?DisplayName $displayName = null,
62 62
         protected ?Description $description = null,
63 63
         protected ?DisplayValue $displayValue = null,
64
-        protected null|Value|EncryptedValue|StructuredValue|ConstrainedValue|SerializableElementInterface $value = null,
64
+        protected null | Value | EncryptedValue | StructuredValue | ConstrainedValue | SerializableElementInterface $value = null,
65 65
         array $namespacedAttributes = [],
66 66
     ) {
67 67
         Assert::validURI($uri);
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *   null
92 92
      * ) $value
93 93
      */
94
-    public function getValue(): null|Value|EncryptedValue|StructuredValue|ConstrainedValue|SerializableElementInterface
94
+    public function getValue(): null | Value | EncryptedValue | StructuredValue | ConstrainedValue | SerializableElementInterface
95 95
     {
96 96
         return $this->value;
97 97
     }
Please login to merge, or discard this patch.
src/XML/auth/AbstractConstrainedValueType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      * @param bool|null $assertConstraint
46 46
      */
47 47
     final public function __construct(
48
-        protected ValueLessThan|ValueLessThanOrEqual|ValueGreaterThan|ValueGreaterThanOrEqual|ValueInRangen|ValueOneOf $value,
48
+        protected ValueLessThan | ValueLessThanOrEqual | ValueGreaterThan | ValueGreaterThanOrEqual | ValueInRangen | ValueOneOf $value,
49 49
         array $children = [],
50 50
         protected ?bool $assertConstraint = null,
51 51
     ) {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      *   \SimpleSAML\WSSecurity\XML\auth\ValueOneOf
66 66
      * )
67 67
      */
68
-    public function getValue(): ValueLessThan|ValueLessThanOrEqual|ValueGreaterThan|ValueGreaterThanOrEqual|ValueInRangen|ValueOneOf
68
+    public function getValue(): ValueLessThan | ValueLessThanOrEqual | ValueGreaterThan | ValueGreaterThanOrEqual | ValueInRangen | ValueOneOf
69 69
     {
70 70
         return $this->value;
71 71
     }
Please login to merge, or discard this patch.
src/XML/wsx/MetadataSection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes
41 41
      */
42 42
     final public function __construct(
43
-        protected SerializableElementInterface|MetadataReference|Location $child,
43
+        protected SerializableElementInterface | MetadataReference | Location $child,
44 44
         protected string $Dialect,
45 45
         protected ?string $Identifier = null,
46 46
         array $namespacedAttributes = [],
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      *         \SimpleSAML\WSSecurity\XML\wsx\MetadataReference|
60 60
      *         \SimpleSAML\WSSecurity\XML\wsx\Location)
61 61
      */
62
-    public function getChild(): SerializableElementInterface|MetadataReference|Location
62
+    public function getChild(): SerializableElementInterface | MetadataReference | Location
63 63
     {
64 64
         return $this->child;
65 65
     }
Please login to merge, or discard this patch.
src/XML/wsdl/AbstractService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         Assert::allIsInstanceOf($ports, Port::class, SchemaViolationException::class);
34 34
 
35 35
         $portNames = array_map(
36
-            function ($x) {
36
+            function($x) {
37 37
                 return $x->getName();
38 38
             },
39 39
             $ports,
Please login to merge, or discard this patch.