@@ -32,7 +32,7 @@ |
||
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, |
@@ -32,7 +32,7 @@ |
||
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, |
@@ -32,7 +32,7 @@ |
||
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, |
@@ -45,7 +45,7 @@ |
||
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, |
@@ -32,7 +32,7 @@ |
||
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, |
@@ -61,7 +61,7 @@ discard block |
||
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 |
||
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 | } |
@@ -45,7 +45,7 @@ discard block |
||
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 |
||
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 | } |
@@ -40,7 +40,7 @@ discard block |
||
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 |
||
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 | } |
@@ -33,7 +33,7 @@ |
||
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, |