Skip to content

Commit 9cbb996

Browse files
coleshirleygithub-actions[bot]
authored andcommitted
Fix styling
1 parent fc4c97a commit 9cbb996

601 files changed

Lines changed: 3941 additions & 15113 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

flexnet/EntitlementOrderService/Result.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* @method \Flexnet\EntitlementOrderService\Type\StatusInfoType getStatusInfo()
1111
*/
12-
abstract class Result implements ResultInterface, FlexnetResultInterface
12+
abstract class Result implements FlexnetResultInterface, ResultInterface
1313
{
1414
public function throw(): static
1515
{

flexnet/EntitlementOrderService/Type/AccountIdentifierType.php

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,50 +16,37 @@ class AccountIdentifierType
1616

1717
/**
1818
* Constructor
19-
*
20-
* @param string|null $uniqueId
21-
* @param \Flexnet\EntitlementOrderService\Type\AccountPKType|null $primaryKeys
2219
*/
23-
public function __construct(string|null $uniqueId = null, AccountPKType|null $primaryKeys = null)
20+
public function __construct(string $uniqueId = null, AccountPKType $primaryKeys = null)
2421
{
2522
$this->uniqueId = $uniqueId;
2623
$this->primaryKeys = $primaryKeys;
2724
}
2825

29-
/**
30-
* @param string|null $uniqueId
31-
* @param \Flexnet\EntitlementOrderService\Type\AccountPKType|null $primaryKeys
32-
*/
33-
public static function create(string|null $uniqueId = null, AccountPKType|null $primaryKeys = null)
26+
public static function create(string $uniqueId = null, AccountPKType $primaryKeys = null)
3427
{
3528
return new static(...\func_get_args());
3629
}
3730

38-
public function getUniqueId(): string|null
31+
public function getUniqueId(): ?string
3932
{
4033
return $this->uniqueId;
4134
}
4235

43-
public function withUniqueId(string|null $uniqueId): AccountIdentifierType
36+
public function withUniqueId(?string $uniqueId): AccountIdentifierType
4437
{
4538
$new = clone $this;
4639
$new->uniqueId = $uniqueId;
4740

4841
return $new;
4942
}
5043

51-
/**
52-
* @return \Flexnet\EntitlementOrderService\Type\AccountPKType|null
53-
*/
54-
public function getPrimaryKeys(): AccountPKType|null
44+
public function getPrimaryKeys(): ?AccountPKType
5545
{
5646
return $this->primaryKeys;
5747
}
5848

59-
/**
60-
* @param \Flexnet\EntitlementOrderService\Type\AccountPKType|null $primaryKeys
61-
*/
62-
public function withPrimaryKeys(AccountPKType|null $primaryKeys): AccountIdentifierType
49+
public function withPrimaryKeys(?AccountPKType $primaryKeys): AccountIdentifierType
6350
{
6451
$new = clone $this;
6552
$new->primaryKeys = $primaryKeys;

flexnet/EntitlementOrderService/Type/ActivatableItemDetailType.php

Lines changed: 14 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,8 @@ class ActivatableItemDetailType
5656

5757
/**
5858
* Constructor
59-
*
60-
* @param \Flexnet\EntitlementOrderService\Type\EntitlementLineItemDataType $activatableItemData
61-
* @param string|null $parentBulkEntitlementId
62-
* @param string|null $shipToEmail
63-
* @param string|null $shipToAddress
64-
* @param string|null $entitlementState
65-
* @param \Flexnet\EntitlementOrderService\Type\ChannelPartnerDataListType|null $channelPartners
66-
* @param \Flexnet\EntitlementOrderService\Type\AttributeDescriptorDataType|null $entitlementAttributes
6759
*/
68-
public function __construct(string $activatableItemType, string $entitlementId, string $soldTo, EntitlementLineItemDataType $activatableItemData, string|null $parentBulkEntitlementId = null, string|null $shipToEmail = null, string|null $shipToAddress = null, string|null $entitlementState = null, ChannelPartnerDataListType|null $channelPartners = null, AttributeDescriptorDataType|null $entitlementAttributes = null)
60+
public function __construct(string $activatableItemType, string $entitlementId, string $soldTo, EntitlementLineItemDataType $activatableItemData, string $parentBulkEntitlementId = null, string $shipToEmail = null, string $shipToAddress = null, string $entitlementState = null, ChannelPartnerDataListType $channelPartners = null, AttributeDescriptorDataType $entitlementAttributes = null)
6961
{
7062
$this->activatableItemType = $activatableItemType;
7163
$this->entitlementId = $entitlementId;
@@ -79,16 +71,7 @@ public function __construct(string $activatableItemType, string $entitlementId,
7971
$this->entitlementAttributes = $entitlementAttributes;
8072
}
8173

82-
/**
83-
* @param \Flexnet\EntitlementOrderService\Type\EntitlementLineItemDataType $activatableItemData
84-
* @param string|null $parentBulkEntitlementId
85-
* @param string|null $shipToEmail
86-
* @param string|null $shipToAddress
87-
* @param string|null $entitlementState
88-
* @param \Flexnet\EntitlementOrderService\Type\ChannelPartnerDataListType|null $channelPartners
89-
* @param \Flexnet\EntitlementOrderService\Type\AttributeDescriptorDataType|null $entitlementAttributes
90-
*/
91-
public static function create(string $activatableItemType, string $entitlementId, string $soldTo, EntitlementLineItemDataType $activatableItemData, string|null $parentBulkEntitlementId = null, string|null $shipToEmail = null, string|null $shipToAddress = null, string|null $entitlementState = null, ChannelPartnerDataListType|null $channelPartners = null, AttributeDescriptorDataType|null $entitlementAttributes = null)
74+
public static function create(string $activatableItemType, string $entitlementId, string $soldTo, EntitlementLineItemDataType $activatableItemData, string $parentBulkEntitlementId = null, string $shipToEmail = null, string $shipToAddress = null, string $entitlementState = null, ChannelPartnerDataListType $channelPartners = null, AttributeDescriptorDataType $entitlementAttributes = null)
9275
{
9376
return new static(...\func_get_args());
9477
}
@@ -106,12 +89,12 @@ public function withActivatableItemType(string $activatableItemType): Activatabl
10689
return $new;
10790
}
10891

109-
public function getParentBulkEntitlementId(): string|null
92+
public function getParentBulkEntitlementId(): ?string
11093
{
11194
return $this->parentBulkEntitlementId;
11295
}
11396

114-
public function withParentBulkEntitlementId(string|null $parentBulkEntitlementId): ActivatableItemDetailType
97+
public function withParentBulkEntitlementId(?string $parentBulkEntitlementId): ActivatableItemDetailType
11598
{
11699
$new = clone $this;
117100
$new->parentBulkEntitlementId = $parentBulkEntitlementId;
@@ -145,56 +128,50 @@ public function withSoldTo(string $soldTo): ActivatableItemDetailType
145128
return $new;
146129
}
147130

148-
public function getShipToEmail(): string|null
131+
public function getShipToEmail(): ?string
149132
{
150133
return $this->shipToEmail;
151134
}
152135

153-
public function withShipToEmail(string|null $shipToEmail): ActivatableItemDetailType
136+
public function withShipToEmail(?string $shipToEmail): ActivatableItemDetailType
154137
{
155138
$new = clone $this;
156139
$new->shipToEmail = $shipToEmail;
157140

158141
return $new;
159142
}
160143

161-
public function getShipToAddress(): string|null
144+
public function getShipToAddress(): ?string
162145
{
163146
return $this->shipToAddress;
164147
}
165148

166-
public function withShipToAddress(string|null $shipToAddress): ActivatableItemDetailType
149+
public function withShipToAddress(?string $shipToAddress): ActivatableItemDetailType
167150
{
168151
$new = clone $this;
169152
$new->shipToAddress = $shipToAddress;
170153

171154
return $new;
172155
}
173156

174-
public function getEntitlementState(): string|null
157+
public function getEntitlementState(): ?string
175158
{
176159
return $this->entitlementState;
177160
}
178161

179-
public function withEntitlementState(string|null $entitlementState): ActivatableItemDetailType
162+
public function withEntitlementState(?string $entitlementState): ActivatableItemDetailType
180163
{
181164
$new = clone $this;
182165
$new->entitlementState = $entitlementState;
183166

184167
return $new;
185168
}
186169

187-
/**
188-
* @return \Flexnet\EntitlementOrderService\Type\EntitlementLineItemDataType
189-
*/
190170
public function getActivatableItemData(): EntitlementLineItemDataType
191171
{
192172
return $this->activatableItemData;
193173
}
194174

195-
/**
196-
* @param \Flexnet\EntitlementOrderService\Type\EntitlementLineItemDataType $activatableItemData
197-
*/
198175
public function withActivatableItemData(EntitlementLineItemDataType $activatableItemData): ActivatableItemDetailType
199176
{
200177
$new = clone $this;
@@ -203,37 +180,25 @@ public function withActivatableItemData(EntitlementLineItemDataType $activatable
203180
return $new;
204181
}
205182

206-
/**
207-
* @return \Flexnet\EntitlementOrderService\Type\ChannelPartnerDataListType|null
208-
*/
209-
public function getChannelPartners(): ChannelPartnerDataListType|null
183+
public function getChannelPartners(): ?ChannelPartnerDataListType
210184
{
211185
return $this->channelPartners;
212186
}
213187

214-
/**
215-
* @param \Flexnet\EntitlementOrderService\Type\ChannelPartnerDataListType|null $channelPartners
216-
*/
217-
public function withChannelPartners(ChannelPartnerDataListType|null $channelPartners): ActivatableItemDetailType
188+
public function withChannelPartners(?ChannelPartnerDataListType $channelPartners): ActivatableItemDetailType
218189
{
219190
$new = clone $this;
220191
$new->channelPartners = $channelPartners;
221192

222193
return $new;
223194
}
224195

225-
/**
226-
* @return \Flexnet\EntitlementOrderService\Type\AttributeDescriptorDataType|null
227-
*/
228-
public function getEntitlementAttributes(): AttributeDescriptorDataType|null
196+
public function getEntitlementAttributes(): ?AttributeDescriptorDataType
229197
{
230198
return $this->entitlementAttributes;
231199
}
232200

233-
/**
234-
* @param \Flexnet\EntitlementOrderService\Type\AttributeDescriptorDataType|null $entitlementAttributes
235-
*/
236-
public function withEntitlementAttributes(AttributeDescriptorDataType|null $entitlementAttributes): ActivatableItemDetailType
201+
public function withEntitlementAttributes(?AttributeDescriptorDataType $entitlementAttributes): ActivatableItemDetailType
237202
{
238203
$new = clone $this;
239204
$new->entitlementAttributes = $entitlementAttributes;

flexnet/EntitlementOrderService/Type/AddEntitlementLineItemDataType.php

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ class AddEntitlementLineItemDataType
2727
/**
2828
* Constructor
2929
*
30-
* @param \Flexnet\EntitlementOrderService\Type\EntitlementIdentifierType $entitlementIdentifier
3130
* @param \Flexnet\EntitlementOrderService\Type\CreateEntitlementLineItemDataType|array<\Flexnet\EntitlementOrderService\Type\CreateEntitlementLineItemDataType>|null $lineItems
3231
* @param \Flexnet\EntitlementOrderService\Type\CreateMaintenanceLineItemDataType|array<\Flexnet\EntitlementOrderService\Type\CreateMaintenanceLineItemDataType>|null $maintenanceLineItems
33-
* @param bool|null $autoDeploy
3432
*/
35-
public function __construct(EntitlementIdentifierType $entitlementIdentifier, CreateEntitlementLineItemDataType|array|null $lineItems = null, CreateMaintenanceLineItemDataType|array|null $maintenanceLineItems = null, bool|null $autoDeploy = null)
33+
public function __construct(EntitlementIdentifierType $entitlementIdentifier, CreateEntitlementLineItemDataType|array $lineItems = null, CreateMaintenanceLineItemDataType|array $maintenanceLineItems = null, bool $autoDeploy = null)
3634
{
3735
$this->entitlementIdentifier = $entitlementIdentifier;
3836
$this->lineItems = $lineItems;
@@ -41,27 +39,19 @@ public function __construct(EntitlementIdentifierType $entitlementIdentifier, Cr
4139
}
4240

4341
/**
44-
* @param \Flexnet\EntitlementOrderService\Type\EntitlementIdentifierType $entitlementIdentifier
4542
* @param \Flexnet\EntitlementOrderService\Type\CreateEntitlementLineItemDataType|array<\Flexnet\EntitlementOrderService\Type\CreateEntitlementLineItemDataType>|null $lineItems
4643
* @param \Flexnet\EntitlementOrderService\Type\CreateMaintenanceLineItemDataType|array<\Flexnet\EntitlementOrderService\Type\CreateMaintenanceLineItemDataType>|null $maintenanceLineItems
47-
* @param bool|null $autoDeploy
4844
*/
49-
public static function create(EntitlementIdentifierType $entitlementIdentifier, CreateEntitlementLineItemDataType|array|null $lineItems = null, CreateMaintenanceLineItemDataType|array|null $maintenanceLineItems = null, bool|null $autoDeploy = null)
45+
public static function create(EntitlementIdentifierType $entitlementIdentifier, CreateEntitlementLineItemDataType|array $lineItems = null, CreateMaintenanceLineItemDataType|array $maintenanceLineItems = null, bool $autoDeploy = null)
5046
{
5147
return new static(...\func_get_args());
5248
}
5349

54-
/**
55-
* @return \Flexnet\EntitlementOrderService\Type\EntitlementIdentifierType
56-
*/
5750
public function getEntitlementIdentifier(): EntitlementIdentifierType
5851
{
5952
return $this->entitlementIdentifier;
6053
}
6154

62-
/**
63-
* @param \Flexnet\EntitlementOrderService\Type\EntitlementIdentifierType $entitlementIdentifier
64-
*/
6555
public function withEntitlementIdentifier(EntitlementIdentifierType $entitlementIdentifier): AddEntitlementLineItemDataType
6656
{
6757
$new = clone $this;
@@ -108,12 +98,12 @@ public function withMaintenanceLineItems(CreateMaintenanceLineItemDataType|array
10898
return $new;
10999
}
110100

111-
public function getAutoDeploy(): bool|null
101+
public function getAutoDeploy(): ?bool
112102
{
113103
return $this->autoDeploy;
114104
}
115105

116-
public function withAutoDeploy(bool|null $autoDeploy): AddEntitlementLineItemDataType
106+
public function withAutoDeploy(?bool $autoDeploy): AddEntitlementLineItemDataType
117107
{
118108
$new = clone $this;
119109
$new->autoDeploy = $autoDeploy;

flexnet/EntitlementOrderService/Type/AddOnlyEntitlementLineItemRequestType.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,17 @@ class AddOnlyEntitlementLineItemRequestType implements RequestInterface
2020
* Constructor
2121
*
2222
* @param \Flexnet\EntitlementOrderService\Type\AddEntitlementLineItemDataType|array<\Flexnet\EntitlementOrderService\Type\AddEntitlementLineItemDataType> $lineItem
23-
* @param string|null $opType
2423
*/
25-
public function __construct(AddEntitlementLineItemDataType|array $lineItem, string|null $opType = null)
24+
public function __construct(AddEntitlementLineItemDataType|array $lineItem, string $opType = null)
2625
{
2726
$this->lineItem = $lineItem;
2827
$this->opType = $opType;
2928
}
3029

3130
/**
3231
* @param \Flexnet\EntitlementOrderService\Type\AddEntitlementLineItemDataType|array<\Flexnet\EntitlementOrderService\Type\AddEntitlementLineItemDataType> $lineItem
33-
* @param string|null $opType
3432
*/
35-
public static function create(AddEntitlementLineItemDataType|array $lineItem, string|null $opType = null)
33+
public static function create(AddEntitlementLineItemDataType|array $lineItem, string $opType = null)
3634
{
3735
return new static(...\func_get_args());
3836
}
@@ -56,12 +54,12 @@ public function withLineItem(AddEntitlementLineItemDataType|array $lineItem): Ad
5654
return $new;
5755
}
5856

59-
public function getOpType(): string|null
57+
public function getOpType(): ?string
6058
{
6159
return $this->opType;
6260
}
6361

64-
public function withOpType(string|null $opType): AddOnlyEntitlementLineItemRequestType
62+
public function withOpType(?string $opType): AddOnlyEntitlementLineItemRequestType
6563
{
6664
$new = clone $this;
6765
$new->opType = $opType;

0 commit comments

Comments
 (0)