Passed
Pull Request — master (#19)
by Tim
02:42
created
src/XML/auth/AbstractClaimType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         protected ?DisplayName $displayName = null,
69 69
         protected ?Description $description = null,
70 70
         protected ?DisplayValue $displayValue = null,
71
-        protected null|Value|EncryptedValue|StructuredValue|ConstrainedValue|SerializableElementInterface $value = null,
71
+        protected null | Value | EncryptedValue | StructuredValue | ConstrainedValue | SerializableElementInterface $value = null,
72 72
         array $namespacedAttributes = [],
73 73
     ) {
74 74
         if (
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      *   null
98 98
      * ) $value
99 99
      */
100
-    public function getValue(): null|Value|EncryptedValue|StructuredValue|ConstrainedValue|SerializableElementInterface
100
+    public function getValue(): null | Value | EncryptedValue | StructuredValue | ConstrainedValue | SerializableElementInterface
101 101
     {
102 102
         return $this->value;
103 103
     }
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
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param \SimpleSAML\XMLSchema\Type\BooleanValue|null $assertConstraint
47 47
      */
48 48
     final public function __construct(
49
-        protected ValueLessThan|ValueLessThanOrEqual|ValueGreaterThan|ValueGreaterThanOrEqual|ValueInRangen|ValueOneOf $value,
49
+        protected ValueLessThan | ValueLessThanOrEqual | ValueGreaterThan | ValueGreaterThanOrEqual | ValueInRangen | ValueOneOf $value,
50 50
         array $children = [],
51 51
         protected ?BooleanValue $assertConstraint = null,
52 52
     ) {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *   \SimpleSAML\WSSecurity\XML\auth\ValueOneOf
67 67
      * )
68 68
      */
69
-    public function getValue(): ValueLessThan|ValueLessThanOrEqual|ValueGreaterThan|ValueGreaterThanOrEqual|ValueInRangen|ValueOneOf
69
+    public function getValue(): ValueLessThan | ValueLessThanOrEqual | ValueGreaterThan | ValueGreaterThanOrEqual | ValueInRangen | ValueOneOf
70 70
     {
71 71
         return $this->value;
72 72
     }
Please login to merge, or discard this patch.