@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * |
21 | 21 | * @var \SimpleSAML\WSSecurity\XML\sp\IncludeToken|string|null |
22 | 22 | */ |
23 | - protected IncludeToken|string|null $includeToken; |
|
23 | + protected IncludeToken | string | null $includeToken; |
|
24 | 24 | |
25 | 25 | |
26 | 26 | /** |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * |
29 | 29 | * @return \SimpleSAML\WSSecurity\XML\sp\IncludeToken|string|null |
30 | 30 | */ |
31 | - public function getIncludeToken(): IncludeToken|string|null |
|
31 | + public function getIncludeToken(): IncludeToken | string | null |
|
32 | 32 | { |
33 | 33 | return $this->includeToken; |
34 | 34 | } |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * |
40 | 40 | * @param \SimpleSAML\WSSecurity\XML\sp\IncludeToken|string|null $includeToken |
41 | 41 | */ |
42 | - protected function setIncludeToken(IncludeToken|string|null $includeToken): void |
|
42 | + protected function setIncludeToken(IncludeToken | string | null $includeToken): void |
|
43 | 43 | { |
44 | 44 | if (is_string($includeToken)) { |
45 | 45 | Assert::validURI($includeToken); |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes |
45 | 45 | */ |
46 | 46 | final public function __construct( |
47 | - protected Issuer|IssuerName|null $issuer, |
|
47 | + protected Issuer | IssuerName | null $issuer, |
|
48 | 48 | ?IncludeToken $includeToken = null, |
49 | 49 | array $elts = [], |
50 | 50 | array $namespacedAttributes = [] |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @return \SimpleSAML\WSSecurity\XML\sp\Issuer|\SimpleSAML\WSSecurity\XML\sp\IssuerName|null |
62 | 62 | */ |
63 | - public function getIssuer(): Issuer|IssuerName|null |
|
63 | + public function getIssuer(): Issuer | IssuerName | null |
|
64 | 64 | { |
65 | 65 | return $this->issuer; |
66 | 66 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | final public function __construct( |
50 | 50 | protected RequestSecurityTokenTemplate $requestSecurityTokenTemplate, |
51 | - protected Issuer|IssuerName|null $issuer, |
|
51 | + protected Issuer | IssuerName | null $issuer, |
|
52 | 52 | ?IncludeToken $includeToken = null, |
53 | 53 | array $elts = [], |
54 | 54 | array $namespacedAttributes = [] |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * |
65 | 65 | * @return \SimpleSAML\WSSecurity\XML\sp\Issuer|\SimpleSAML\WSSecurity\XML\sp\IssuerName|null |
66 | 66 | */ |
67 | - public function getIssuer(): Issuer|IssuerName|null |
|
67 | + public function getIssuer(): Issuer | IssuerName | null |
|
68 | 68 | { |
69 | 69 | return $this->issuer; |
70 | 70 | } |
@@ -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, |
@@ -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 | } |