|
5 | 5 | class FeatureBundlesListType |
6 | 6 | { |
7 | 7 | /** |
8 | | - * @var \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType> |
| 8 | + * @var \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType>|null |
9 | 9 | */ |
10 | 10 | private $featureBundle; |
11 | 11 |
|
12 | 12 | /** |
13 | 13 | * Constructor |
14 | 14 | * |
15 | | - * @param \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType> $featureBundle |
| 15 | + * @param \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType>|null $featureBundle |
16 | 16 | */ |
17 | | - public function __construct(FeatureBundleIdentifierWithCountDataType|array $featureBundle) |
| 17 | + public function __construct(FeatureBundleIdentifierWithCountDataType|array|null $featureBundle = null) |
18 | 18 | { |
19 | 19 | $this->featureBundle = $featureBundle; |
20 | 20 | } |
21 | 21 |
|
22 | 22 | /** |
23 | | - * @param \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType> $featureBundle |
| 23 | + * @param \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType>|null $featureBundle |
24 | 24 | */ |
25 | | - public static function create(FeatureBundleIdentifierWithCountDataType|array $featureBundle) |
| 25 | + public static function create(FeatureBundleIdentifierWithCountDataType|array|null $featureBundle = null) |
26 | 26 | { |
27 | 27 | return new static(...\func_get_args()); |
28 | 28 | } |
29 | 29 |
|
30 | 30 | /** |
31 | | - * @return \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType> |
| 31 | + * @return \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType>|null |
32 | 32 | */ |
33 | | - public function getFeatureBundle(): FeatureBundleIdentifierWithCountDataType|array |
| 33 | + public function getFeatureBundle(): FeatureBundleIdentifierWithCountDataType|array|null |
34 | 34 | { |
35 | 35 | return $this->featureBundle; |
36 | 36 | } |
37 | 37 |
|
38 | 38 | /** |
39 | | - * @param \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType> $featureBundle |
| 39 | + * @param \Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType|array<\Flexnet\ProductPackagingService\Type\FeatureBundleIdentifierWithCountDataType>|null $featureBundle |
40 | 40 | */ |
41 | | - public function withFeatureBundle(FeatureBundleIdentifierWithCountDataType|array $featureBundle): FeatureBundlesListType |
| 41 | + public function withFeatureBundle(FeatureBundleIdentifierWithCountDataType|array|null $featureBundle): FeatureBundlesListType |
42 | 42 | { |
43 | 43 | $new = clone $this; |
44 | 44 | $new->featureBundle = $featureBundle; |
|
0 commit comments