Passed
Pull Request — master (#25)
by
unknown
02:40
created
src/XML/sp_200702/AbstractSecureConversationTokenType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      * @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes
42 42
      */
43 43
     final public function __construct(
44
-        protected Issuer|IssuerName|null $issuer,
44
+        protected Issuer | IssuerName | null $issuer,
45 45
         array $elts = [],
46 46
         array $namespacedAttributes = [],
47 47
     ) {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @return \SimpleSAML\WSSecurity\XML\sp_200702\Issuer|\SimpleSAML\WSSecurity\XML\sp_200702\IssuerName|null
57 57
      */
58
-    public function getIssuer(): Issuer|IssuerName|null
58
+    public function getIssuer(): Issuer | IssuerName | null
59 59
     {
60 60
         return $this->issuer;
61 61
     }
Please login to merge, or discard this patch.
src/XML/sp_200702/AbstractIssuedTokenType.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
      */
46 46
     final public function __construct(
47 47
         protected RequestSecurityTokenTemplate $requestSecurityTokenTemplate,
48
-        protected Issuer|IssuerName|null $issuer = null,
48
+        protected Issuer | IssuerName | null $issuer = null,
49 49
         array $elts = [],
50 50
         array $namespacedAttributes = [],
51 51
     ) {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @return \SimpleSAML\WSSecurity\XML\sp_200702\Issuer|\SimpleSAML\WSSecurity\XML\sp_200702\IssuerName|null
61 61
      */
62
-    public function getIssuer(): Issuer|IssuerName|null
62
+    public function getIssuer(): Issuer | IssuerName | null
63 63
     {
64 64
         return $this->issuer;
65 65
     }
Please login to merge, or discard this patch.
src/XML/sp_200702/AbstractSpnegoContextTokenType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      * @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes
42 42
      */
43 43
     final public function __construct(
44
-        protected Issuer|IssuerName|null $issuer,
44
+        protected Issuer | IssuerName | null $issuer,
45 45
         array $elts = [],
46 46
         array $namespacedAttributes = [],
47 47
     ) {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @return \SimpleSAML\WSSecurity\XML\sp_200702\Issuer|\SimpleSAML\WSSecurity\XML\sp_200702\IssuerName|null
57 57
      */
58
-    public function getIssuer(): Issuer|IssuerName|null
58
+    public function getIssuer(): Issuer | IssuerName | null
59 59
     {
60 60
         return $this->issuer;
61 61
     }
Please login to merge, or discard this patch.
src/XML/wst_200502/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/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.
src/XML/wsx/MetadataSection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes
50 50
      */
51 51
     final public function __construct(
52
-        protected SerializableElementInterface|MetadataReference|Location $child,
52
+        protected SerializableElementInterface | MetadataReference | Location $child,
53 53
         protected AnyURIValue $Dialect,
54 54
         protected ?AnyURIValue $Identifier = null,
55 55
         array $namespacedAttributes = [],
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      *         \SimpleSAML\WSSecurity\XML\wsx\MetadataReference|
70 70
      *         \SimpleSAML\WSSecurity\XML\wsx\Location)
71 71
      */
72
-    public function getChild(): SerializableElementInterface|MetadataReference|Location
72
+    public function getChild(): SerializableElementInterface | MetadataReference | Location
73 73
     {
74 74
         return $this->child;
75 75
     }
Please login to merge, or discard this patch.