diff --git a/codegen/Automation/Actions/Api/CallbacksApi.php b/codegen/Automation/Actions/Api/CallbacksApi.php index 23440ced2..e42e716f8 100644 --- a/codegen/Automation/Actions/Api/CallbacksApi.php +++ b/codegen/Automation/Actions/Api/CallbacksApi.php @@ -80,15 +80,15 @@ class CallbacksApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Automation/Actions/Api/DefinitionsApi.php b/codegen/Automation/Actions/Api/DefinitionsApi.php index d21419e31..25e227424 100644 --- a/codegen/Automation/Actions/Api/DefinitionsApi.php +++ b/codegen/Automation/Actions/Api/DefinitionsApi.php @@ -89,15 +89,15 @@ class DefinitionsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Automation/Actions/Api/FunctionsApi.php b/codegen/Automation/Actions/Api/FunctionsApi.php index 65fbed433..55779dc9a 100644 --- a/codegen/Automation/Actions/Api/FunctionsApi.php +++ b/codegen/Automation/Actions/Api/FunctionsApi.php @@ -95,15 +95,15 @@ class FunctionsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Automation/Actions/Api/RevisionsApi.php b/codegen/Automation/Actions/Api/RevisionsApi.php index e816473b7..f47d2430a 100644 --- a/codegen/Automation/Actions/Api/RevisionsApi.php +++ b/codegen/Automation/Actions/Api/RevisionsApi.php @@ -80,15 +80,15 @@ class RevisionsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Automation/Actions/Configuration.php b/codegen/Automation/Actions/Configuration.php index 212101fd3..6814cda4d 100644 --- a/codegen/Automation/Actions/Configuration.php +++ b/codegen/Automation/Actions/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Automation/Actions/Model/BatchInputCallbackCompletionBatchRequest.php b/codegen/Automation/Actions/Model/BatchInputCallbackCompletionBatchRequest.php index 9da6c34e7..26d756f9d 100644 --- a/codegen/Automation/Actions/Model/BatchInputCallbackCompletionBatchRequest.php +++ b/codegen/Automation/Actions/Model/BatchInputCallbackCompletionBatchRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Automation/Actions/Model/CallbackCompletionBatchRequest.php b/codegen/Automation/Actions/Model/CallbackCompletionBatchRequest.php index 0dcdbdad1..9aad51585 100644 --- a/codegen/Automation/Actions/Model/CallbackCompletionBatchRequest.php +++ b/codegen/Automation/Actions/Model/CallbackCompletionBatchRequest.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('output_fields', $data ?? [], null); $this->setIfExists('callback_id', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/CallbackCompletionRequest.php b/codegen/Automation/Actions/Model/CallbackCompletionRequest.php index 7a4f5bef0..e2868e288 100644 --- a/codegen/Automation/Actions/Model/CallbackCompletionRequest.php +++ b/codegen/Automation/Actions/Model/CallbackCompletionRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('output_fields', $data ?? [], null); } diff --git a/codegen/Automation/Actions/Model/CollectionResponsePublicActionDefinitionForwardPaging.php b/codegen/Automation/Actions/Model/CollectionResponsePublicActionDefinitionForwardPaging.php index bf583fb80..ad0ac2488 100644 --- a/codegen/Automation/Actions/Model/CollectionResponsePublicActionDefinitionForwardPaging.php +++ b/codegen/Automation/Actions/Model/CollectionResponsePublicActionDefinitionForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/CollectionResponsePublicActionFunctionIdentifierNoPaging.php b/codegen/Automation/Actions/Model/CollectionResponsePublicActionFunctionIdentifierNoPaging.php index 0772fb1b5..a7d644f7d 100644 --- a/codegen/Automation/Actions/Model/CollectionResponsePublicActionFunctionIdentifierNoPaging.php +++ b/codegen/Automation/Actions/Model/CollectionResponsePublicActionFunctionIdentifierNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Automation/Actions/Model/CollectionResponsePublicActionRevisionForwardPaging.php b/codegen/Automation/Actions/Model/CollectionResponsePublicActionRevisionForwardPaging.php index 1a68f0281..7c285cab5 100644 --- a/codegen/Automation/Actions/Model/CollectionResponsePublicActionRevisionForwardPaging.php +++ b/codegen/Automation/Actions/Model/CollectionResponsePublicActionRevisionForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/Error.php b/codegen/Automation/Actions/Model/Error.php index 6a7099c28..18a23320f 100644 --- a/codegen/Automation/Actions/Model/Error.php +++ b/codegen/Automation/Actions/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/ErrorDetail.php b/codegen/Automation/Actions/Model/ErrorDetail.php index bd2ff5aba..e4e3659a3 100644 --- a/codegen/Automation/Actions/Model/ErrorDetail.php +++ b/codegen/Automation/Actions/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/FieldTypeDefinition.php b/codegen/Automation/Actions/Model/FieldTypeDefinition.php index b341acb7a..cdd43c0be 100644 --- a/codegen/Automation/Actions/Model/FieldTypeDefinition.php +++ b/codegen/Automation/Actions/Model/FieldTypeDefinition.php @@ -692,10 +692,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('help_text', $data ?? [], null); $this->setIfExists('referenced_object_type', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/ForwardPaging.php b/codegen/Automation/Actions/Model/ForwardPaging.php index c63db1856..eaf382831 100644 --- a/codegen/Automation/Actions/Model/ForwardPaging.php +++ b/codegen/Automation/Actions/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Automation/Actions/Model/InputFieldDefinition.php b/codegen/Automation/Actions/Model/InputFieldDefinition.php index f7706328b..1f63a31b3 100644 --- a/codegen/Automation/Actions/Model/InputFieldDefinition.php +++ b/codegen/Automation/Actions/Model/InputFieldDefinition.php @@ -278,10 +278,10 @@ public function getSupportedValueTypesAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('is_required', $data ?? [], null); $this->setIfExists('automation_field_type', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/NextPage.php b/codegen/Automation/Actions/Model/NextPage.php index b77f5a920..882818b38 100644 --- a/codegen/Automation/Actions/Model/NextPage.php +++ b/codegen/Automation/Actions/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/Option.php b/codegen/Automation/Actions/Model/Option.php index 4431c2987..3d3270b58 100644 --- a/codegen/Automation/Actions/Model/Option.php +++ b/codegen/Automation/Actions/Model/Option.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hidden', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/OutputFieldDefinition.php b/codegen/Automation/Actions/Model/OutputFieldDefinition.php index a8a47fd25..a132d0a13 100644 --- a/codegen/Automation/Actions/Model/OutputFieldDefinition.php +++ b/codegen/Automation/Actions/Model/OutputFieldDefinition.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type_definition', $data ?? [], null); } diff --git a/codegen/Automation/Actions/Model/PublicActionDefinition.php b/codegen/Automation/Actions/Model/PublicActionDefinition.php index f6071e44d..77fd0fbbc 100644 --- a/codegen/Automation/Actions/Model/PublicActionDefinition.php +++ b/codegen/Automation/Actions/Model/PublicActionDefinition.php @@ -311,10 +311,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('functions', $data ?? [], null); $this->setIfExists('action_url', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicActionDefinitionEgg.php b/codegen/Automation/Actions/Model/PublicActionDefinitionEgg.php index cd2bc4557..83a449001 100644 --- a/codegen/Automation/Actions/Model/PublicActionDefinitionEgg.php +++ b/codegen/Automation/Actions/Model/PublicActionDefinitionEgg.php @@ -299,10 +299,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('input_fields', $data ?? [], null); $this->setIfExists('output_fields', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicActionDefinitionInputFieldDependenciesInner.php b/codegen/Automation/Actions/Model/PublicActionDefinitionInputFieldDependenciesInner.php index bd707c374..eb8f7e58b 100644 --- a/codegen/Automation/Actions/Model/PublicActionDefinitionInputFieldDependenciesInner.php +++ b/codegen/Automation/Actions/Model/PublicActionDefinitionInputFieldDependenciesInner.php @@ -270,10 +270,10 @@ public function getDependencyTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dependency_type', $data ?? [], 'CONDITIONAL_SINGLE_FIELD'); $this->setIfExists('dependent_field_names', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicActionDefinitionPatch.php b/codegen/Automation/Actions/Model/PublicActionDefinitionPatch.php index e31547ca8..2dc9a13fa 100644 --- a/codegen/Automation/Actions/Model/PublicActionDefinitionPatch.php +++ b/codegen/Automation/Actions/Model/PublicActionDefinitionPatch.php @@ -287,10 +287,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('input_fields', $data ?? [], null); $this->setIfExists('output_fields', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicActionFunction.php b/codegen/Automation/Actions/Model/PublicActionFunction.php index dbd598233..f74342055 100644 --- a/codegen/Automation/Actions/Model/PublicActionFunction.php +++ b/codegen/Automation/Actions/Model/PublicActionFunction.php @@ -270,10 +270,10 @@ public function getFunctionTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('function_source', $data ?? [], null); $this->setIfExists('function_type', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicActionFunctionIdentifier.php b/codegen/Automation/Actions/Model/PublicActionFunctionIdentifier.php index d4e026429..95dd98724 100644 --- a/codegen/Automation/Actions/Model/PublicActionFunctionIdentifier.php +++ b/codegen/Automation/Actions/Model/PublicActionFunctionIdentifier.php @@ -264,10 +264,10 @@ public function getFunctionTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('function_type', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicActionLabels.php b/codegen/Automation/Actions/Model/PublicActionLabels.php index ee185db8e..106f7d3e6 100644 --- a/codegen/Automation/Actions/Model/PublicActionLabels.php +++ b/codegen/Automation/Actions/Model/PublicActionLabels.php @@ -287,10 +287,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('input_field_descriptions', $data ?? [], null); $this->setIfExists('app_display_name', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicActionRevision.php b/codegen/Automation/Actions/Model/PublicActionRevision.php index 554fc3613..4ba124ed9 100644 --- a/codegen/Automation/Actions/Model/PublicActionRevision.php +++ b/codegen/Automation/Actions/Model/PublicActionRevision.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('revision_id', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicConditionalSingleFieldDependency.php b/codegen/Automation/Actions/Model/PublicConditionalSingleFieldDependency.php index 49624ba93..8e40b0c60 100644 --- a/codegen/Automation/Actions/Model/PublicConditionalSingleFieldDependency.php +++ b/codegen/Automation/Actions/Model/PublicConditionalSingleFieldDependency.php @@ -270,10 +270,10 @@ public function getDependencyTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dependency_type', $data ?? [], 'CONDITIONAL_SINGLE_FIELD'); $this->setIfExists('dependent_field_names', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicExecutionTranslationRule.php b/codegen/Automation/Actions/Model/PublicExecutionTranslationRule.php index d0a6a882c..4f6c2a188 100644 --- a/codegen/Automation/Actions/Model/PublicExecutionTranslationRule.php +++ b/codegen/Automation/Actions/Model/PublicExecutionTranslationRule.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('label_name', $data ?? [], null); $this->setIfExists('conditions', $data ?? [], null); diff --git a/codegen/Automation/Actions/Model/PublicObjectRequestOptions.php b/codegen/Automation/Actions/Model/PublicObjectRequestOptions.php index 69ace5931..6ae08f984 100644 --- a/codegen/Automation/Actions/Model/PublicObjectRequestOptions.php +++ b/codegen/Automation/Actions/Model/PublicObjectRequestOptions.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties', $data ?? [], null); } diff --git a/codegen/Automation/Actions/Model/PublicSingleFieldDependency.php b/codegen/Automation/Actions/Model/PublicSingleFieldDependency.php index b9ac6af1c..560f71f46 100644 --- a/codegen/Automation/Actions/Model/PublicSingleFieldDependency.php +++ b/codegen/Automation/Actions/Model/PublicSingleFieldDependency.php @@ -264,10 +264,10 @@ public function getDependencyTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dependency_type', $data ?? [], 'SINGLE_FIELD'); $this->setIfExists('dependent_field_names', $data ?? [], null); diff --git a/codegen/Cms/AuditLogs/Api/AuditLogsApi.php b/codegen/Cms/AuditLogs/Api/AuditLogsApi.php index 4ed98e543..f4d63284f 100644 --- a/codegen/Cms/AuditLogs/Api/AuditLogsApi.php +++ b/codegen/Cms/AuditLogs/Api/AuditLogsApi.php @@ -77,15 +77,15 @@ class AuditLogsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/AuditLogs/Configuration.php b/codegen/Cms/AuditLogs/Configuration.php index a7b86fbf0..c08af3d20 100644 --- a/codegen/Cms/AuditLogs/Configuration.php +++ b/codegen/Cms/AuditLogs/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/AuditLogs/Model/CollectionResponsePublicAuditLog.php b/codegen/Cms/AuditLogs/Model/CollectionResponsePublicAuditLog.php index 26394c14d..b7c17f00c 100644 --- a/codegen/Cms/AuditLogs/Model/CollectionResponsePublicAuditLog.php +++ b/codegen/Cms/AuditLogs/Model/CollectionResponsePublicAuditLog.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Cms/AuditLogs/Model/Error.php b/codegen/Cms/AuditLogs/Model/Error.php index b2a6eab26..275be0e21 100644 --- a/codegen/Cms/AuditLogs/Model/Error.php +++ b/codegen/Cms/AuditLogs/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/AuditLogs/Model/ErrorDetail.php b/codegen/Cms/AuditLogs/Model/ErrorDetail.php index 3279d5276..2817283ea 100644 --- a/codegen/Cms/AuditLogs/Model/ErrorDetail.php +++ b/codegen/Cms/AuditLogs/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/AuditLogs/Model/NextPage.php b/codegen/Cms/AuditLogs/Model/NextPage.php index 57acee4ea..00ca8cb08 100644 --- a/codegen/Cms/AuditLogs/Model/NextPage.php +++ b/codegen/Cms/AuditLogs/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Cms/AuditLogs/Model/Paging.php b/codegen/Cms/AuditLogs/Model/Paging.php index d39b36c99..c4af98d2c 100644 --- a/codegen/Cms/AuditLogs/Model/Paging.php +++ b/codegen/Cms/AuditLogs/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Cms/AuditLogs/Model/PreviousPage.php b/codegen/Cms/AuditLogs/Model/PreviousPage.php index 5929e5958..99a5dad07 100644 --- a/codegen/Cms/AuditLogs/Model/PreviousPage.php +++ b/codegen/Cms/AuditLogs/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Cms/AuditLogs/Model/PublicAuditLog.php b/codegen/Cms/AuditLogs/Model/PublicAuditLog.php index 1eb62a3c8..83e7a80c9 100644 --- a/codegen/Cms/AuditLogs/Model/PublicAuditLog.php +++ b/codegen/Cms/AuditLogs/Model/PublicAuditLog.php @@ -355,10 +355,10 @@ public function getObjectTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('meta', $data ?? [], null); $this->setIfExists('object_name', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php b/codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php index 16c468ea3..7c160fd50 100644 --- a/codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php +++ b/codegen/Cms/Blogs/Authors/Api/BlogAuthorsApi.php @@ -116,15 +116,15 @@ class BlogAuthorsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Blogs/Authors/Configuration.php b/codegen/Cms/Blogs/Authors/Configuration.php index 4eb941358..028b448ac 100644 --- a/codegen/Cms/Blogs/Authors/Configuration.php +++ b/codegen/Cms/Blogs/Authors/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php index 7501dbc99..3370c0985 100644 --- a/codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/AttachToLangPrimaryRequestVNext.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php b/codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php index f445353a9..a2665fb12 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchInputBlogAuthor.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php b/codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php index cf6ece492..c3b55691c 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchInputJsonNode.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Authors/Model/BatchInputString.php b/codegen/Cms/Blogs/Authors/Model/BatchInputString.php index b90248d17..94745d9b5 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchInputString.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchInputString.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthor.php b/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthor.php index d5e6df6ca..67995bf30 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthor.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthor.php @@ -289,10 +289,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthorWithErrors.php b/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthorWithErrors.php index 28937dae7..9b5f37494 100644 --- a/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthorWithErrors.php +++ b/codegen/Cms/Blogs/Authors/Model/BatchResponseBlogAuthorWithErrors.php @@ -301,10 +301,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/BlogAuthor.php b/codegen/Cms/Blogs/Authors/Model/BlogAuthor.php index ad6e9ffb1..86dfc4dab 100644 --- a/codegen/Cms/Blogs/Authors/Model/BlogAuthor.php +++ b/codegen/Cms/Blogs/Authors/Model/BlogAuthor.php @@ -1855,10 +1855,10 @@ public function getLanguageAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('website', $data ?? [], null); $this->setIfExists('display_name', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/BlogAuthorCloneRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/BlogAuthorCloneRequestVNext.php index fa1aa9a7b..626c1be85 100644 --- a/codegen/Cms/Blogs/Authors/Model/BlogAuthorCloneRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/BlogAuthorCloneRequestVNext.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/CollectionResponseWithTotalBlogAuthorForwardPaging.php b/codegen/Cms/Blogs/Authors/Model/CollectionResponseWithTotalBlogAuthorForwardPaging.php index e00520907..da08a3925 100644 --- a/codegen/Cms/Blogs/Authors/Model/CollectionResponseWithTotalBlogAuthorForwardPaging.php +++ b/codegen/Cms/Blogs/Authors/Model/CollectionResponseWithTotalBlogAuthorForwardPaging.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/DetachFromLangGroupRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/DetachFromLangGroupRequestVNext.php index 84ddf8260..787b6b35f 100644 --- a/codegen/Cms/Blogs/Authors/Model/DetachFromLangGroupRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/DetachFromLangGroupRequestVNext.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Authors/Model/Error.php b/codegen/Cms/Blogs/Authors/Model/Error.php index c560b1fce..bc2a535af 100644 --- a/codegen/Cms/Blogs/Authors/Model/Error.php +++ b/codegen/Cms/Blogs/Authors/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/ErrorDetail.php b/codegen/Cms/Blogs/Authors/Model/ErrorDetail.php index 7c11c5d70..4628c90c7 100644 --- a/codegen/Cms/Blogs/Authors/Model/ErrorDetail.php +++ b/codegen/Cms/Blogs/Authors/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/ForwardPaging.php b/codegen/Cms/Blogs/Authors/Model/ForwardPaging.php index 5adb93e1a..336eed12f 100644 --- a/codegen/Cms/Blogs/Authors/Model/ForwardPaging.php +++ b/codegen/Cms/Blogs/Authors/Model/ForwardPaging.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Authors/Model/NextPage.php b/codegen/Cms/Blogs/Authors/Model/NextPage.php index e2f81025d..ee8ea2a0c 100644 --- a/codegen/Cms/Blogs/Authors/Model/NextPage.php +++ b/codegen/Cms/Blogs/Authors/Model/NextPage.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/SetNewLanguagePrimaryRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/SetNewLanguagePrimaryRequestVNext.php index 84e2c0fe2..ba6b271e3 100644 --- a/codegen/Cms/Blogs/Authors/Model/SetNewLanguagePrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/SetNewLanguagePrimaryRequestVNext.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Authors/Model/StandardError.php b/codegen/Cms/Blogs/Authors/Model/StandardError.php index a130e38eb..94af2d443 100644 --- a/codegen/Cms/Blogs/Authors/Model/StandardError.php +++ b/codegen/Cms/Blogs/Authors/Model/StandardError.php @@ -282,10 +282,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Authors/Model/UpdateLanguagesRequestVNext.php b/codegen/Cms/Blogs/Authors/Model/UpdateLanguagesRequestVNext.php index 4a3facc66..583f3fdb7 100644 --- a/codegen/Cms/Blogs/Authors/Model/UpdateLanguagesRequestVNext.php +++ b/codegen/Cms/Blogs/Authors/Model/UpdateLanguagesRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('languages', $data ?? [], null); $this->setIfExists('primary_id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Api/BlogPostsApi.php b/codegen/Cms/Blogs/BlogPosts/Api/BlogPostsApi.php index fe3b75f74..0b1a59ee2 100644 --- a/codegen/Cms/Blogs/BlogPosts/Api/BlogPostsApi.php +++ b/codegen/Cms/Blogs/BlogPosts/Api/BlogPostsApi.php @@ -146,15 +146,15 @@ class BlogPostsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Blogs/BlogPosts/Configuration.php b/codegen/Cms/Blogs/BlogPosts/Configuration.php index 5921a00c2..37139c9bd 100644 --- a/codegen/Cms/Blogs/BlogPosts/Configuration.php +++ b/codegen/Cms/Blogs/BlogPosts/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Angle.php b/codegen/Cms/Blogs/BlogPosts/Model/Angle.php index cf7b8670c..994199aa3 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Angle.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Angle.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('units', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/AttachToLangPrimaryRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/AttachToLangPrimaryRequestVNext.php index 202e3fda2..60d475b71 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/AttachToLangPrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/AttachToLangPrimaryRequestVNext.php @@ -1781,10 +1781,10 @@ public function getLanguageAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BackgroundImage.php b/codegen/Cms/Blogs/BlogPosts/Model/BackgroundImage.php index f596f9978..8aa16f62e 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BackgroundImage.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BackgroundImage.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('image_url', $data ?? [], null); $this->setIfExists('background_size', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputBlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputBlogPost.php index 2799eb2eb..e0817aed0 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputBlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputBlogPost.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputJsonNode.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputJsonNode.php index 5150d3e28..1c4eed2bd 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputJsonNode.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputJsonNode.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputString.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputString.php index bbefe0225..4ad9c4676 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchInputString.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchInputString.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPost.php index a25b97442..f94200c6c 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPost.php @@ -289,10 +289,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPostWithErrors.php b/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPostWithErrors.php index 13a2e1d3f..5826312ce 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPostWithErrors.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BatchResponseBlogPostWithErrors.php @@ -301,10 +301,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/BlogPost.php index 61ab91bfa..d4b502aa2 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BlogPost.php @@ -2266,10 +2266,10 @@ public function getCurrentStateAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('publish_date', $data ?? [], null); $this->setIfExists('language', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BlogPostLanguageCloneRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/BlogPostLanguageCloneRequestVNext.php index d06ced919..8a8efdcb8 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BlogPostLanguageCloneRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BlogPostLanguageCloneRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/BreakpointStyles.php b/codegen/Cms/Blogs/BlogPosts/Model/BreakpointStyles.php index 3612a3e0f..b7bcdf838 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/BreakpointStyles.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/BreakpointStyles.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('padding', $data ?? [], null); $this->setIfExists('margin', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalBlogPostForwardPaging.php b/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalBlogPostForwardPaging.php index 25ef37930..afbfbf745 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalBlogPostForwardPaging.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalBlogPostForwardPaging.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalVersionBlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalVersionBlogPost.php index febcee5bb..664ad4fe0 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalVersionBlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/CollectionResponseWithTotalVersionBlogPost.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ColorStop.php b/codegen/Cms/Blogs/BlogPosts/Model/ColorStop.php index 59b77fd39..373bf04cd 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ColorStop.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ColorStop.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('color', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ContentCloneRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/ContentCloneRequestVNext.php index 058862d10..21c61e610 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ContentCloneRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ContentCloneRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('clone_name', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ContentLanguageVariation.php b/codegen/Cms/Blogs/BlogPosts/Model/ContentLanguageVariation.php index c23935c8f..4f59c820d 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ContentLanguageVariation.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ContentLanguageVariation.php @@ -323,10 +323,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('archived_in_dashboard', $data ?? [], null); $this->setIfExists('created', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ContentScheduleRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/ContentScheduleRequestVNext.php index 163f1344d..5e5ee7b9d 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ContentScheduleRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ContentScheduleRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('publish_date', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/DetachFromLangGroupRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/DetachFromLangGroupRequestVNext.php index 7f04b03e2..208c9ec93 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/DetachFromLangGroupRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/DetachFromLangGroupRequestVNext.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Error.php b/codegen/Cms/Blogs/BlogPosts/Model/Error.php index 2e97ef82c..be4e6e9c1 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Error.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ErrorDetail.php b/codegen/Cms/Blogs/BlogPosts/Model/ErrorDetail.php index 1f5118fa4..28a1fb11f 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ErrorDetail.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/ForwardPaging.php b/codegen/Cms/Blogs/BlogPosts/Model/ForwardPaging.php index 95350cc57..9b3504cfd 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/ForwardPaging.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/ForwardPaging.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Gradient.php b/codegen/Cms/Blogs/BlogPosts/Model/Gradient.php index 48cb6aaad..b216a452f 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Gradient.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Gradient.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('angle', $data ?? [], null); $this->setIfExists('side_or_corner', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/LayoutSection.php b/codegen/Cms/Blogs/BlogPosts/Model/LayoutSection.php index 309727a88..69b48b154 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/LayoutSection.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/LayoutSection.php @@ -311,10 +311,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('css_style', $data ?? [], null); $this->setIfExists('label', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/NextPage.php b/codegen/Cms/Blogs/BlogPosts/Model/NextPage.php index d28692ee0..2943def8f 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/NextPage.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/NextPage.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Paging.php b/codegen/Cms/Blogs/BlogPosts/Model/Paging.php index c08b62038..f5b68187f 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Paging.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Paging.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/PreviousPage.php b/codegen/Cms/Blogs/BlogPosts/Model/PreviousPage.php index 5bb4e82ba..ea073ffcc 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/PreviousPage.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/PreviousPage.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/RGBAColor.php b/codegen/Cms/Blogs/BlogPosts/Model/RGBAColor.php index a62c873f0..a748c82bf 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/RGBAColor.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/RGBAColor.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('a', $data ?? [], null); $this->setIfExists('r', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/RowMetaData.php b/codegen/Cms/Blogs/BlogPosts/Model/RowMetaData.php index 0f1d883c0..f398e4600 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/RowMetaData.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/RowMetaData.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('css_class', $data ?? [], null); $this->setIfExists('styles', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/SetNewLanguagePrimaryRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/SetNewLanguagePrimaryRequestVNext.php index eca67a79c..14cd9ede3 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/SetNewLanguagePrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/SetNewLanguagePrimaryRequestVNext.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/BlogPosts/Model/SideOrCorner.php b/codegen/Cms/Blogs/BlogPosts/Model/SideOrCorner.php index 34e0ad45d..aca2b809d 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/SideOrCorner.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/SideOrCorner.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('horizontal_side', $data ?? [], null); $this->setIfExists('vertical_side', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/StandardError.php b/codegen/Cms/Blogs/BlogPosts/Model/StandardError.php index a53206ffd..330f3bd91 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/StandardError.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/StandardError.php @@ -282,10 +282,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/Styles.php b/codegen/Cms/Blogs/BlogPosts/Model/Styles.php index 929504e35..56d0d8038 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/Styles.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/Styles.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('background_color', $data ?? [], null); $this->setIfExists('flexbox_positioning', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/UpdateLanguagesRequestVNext.php b/codegen/Cms/Blogs/BlogPosts/Model/UpdateLanguagesRequestVNext.php index d6e15b250..6026bc835 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/UpdateLanguagesRequestVNext.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/UpdateLanguagesRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('languages', $data ?? [], null); $this->setIfExists('primary_id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/VersionBlogPost.php b/codegen/Cms/Blogs/BlogPosts/Model/VersionBlogPost.php index 7b1e49304..217b1780d 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/VersionBlogPost.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/VersionBlogPost.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('user', $data ?? [], null); diff --git a/codegen/Cms/Blogs/BlogPosts/Model/VersionUser.php b/codegen/Cms/Blogs/BlogPosts/Model/VersionUser.php index 37b4d8a81..17bcf6799 100644 --- a/codegen/Cms/Blogs/BlogPosts/Model/VersionUser.php +++ b/codegen/Cms/Blogs/BlogPosts/Model/VersionUser.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('full_name', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Api/BlogTagsApi.php b/codegen/Cms/Blogs/Tags/Api/BlogTagsApi.php index 2c4608e8b..e521a4e80 100644 --- a/codegen/Cms/Blogs/Tags/Api/BlogTagsApi.php +++ b/codegen/Cms/Blogs/Tags/Api/BlogTagsApi.php @@ -116,15 +116,15 @@ class BlogTagsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Blogs/Tags/Configuration.php b/codegen/Cms/Blogs/Tags/Configuration.php index b35409b30..6f68a9ebc 100644 --- a/codegen/Cms/Blogs/Tags/Configuration.php +++ b/codegen/Cms/Blogs/Tags/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/Blogs/Tags/Model/AttachToLangPrimaryRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/AttachToLangPrimaryRequestVNext.php index 3b5286ac7..e8fc7321b 100644 --- a/codegen/Cms/Blogs/Tags/Model/AttachToLangPrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/AttachToLangPrimaryRequestVNext.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/BatchInputJsonNode.php b/codegen/Cms/Blogs/Tags/Model/BatchInputJsonNode.php index 7e59e16fc..d765bab6b 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchInputJsonNode.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchInputJsonNode.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Tags/Model/BatchInputString.php b/codegen/Cms/Blogs/Tags/Model/BatchInputString.php index ae472bcc5..9c5ea3a4e 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchInputString.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchInputString.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Tags/Model/BatchInputTag.php b/codegen/Cms/Blogs/Tags/Model/BatchInputTag.php index dd80d03c4..21451ed7d 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchInputTag.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchInputTag.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Tags/Model/BatchResponseTag.php b/codegen/Cms/Blogs/Tags/Model/BatchResponseTag.php index df246f4f9..d9dabc1cf 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchResponseTag.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchResponseTag.php @@ -289,10 +289,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/BatchResponseTagWithErrors.php b/codegen/Cms/Blogs/Tags/Model/BatchResponseTagWithErrors.php index 943170d88..02a89cc55 100644 --- a/codegen/Cms/Blogs/Tags/Model/BatchResponseTagWithErrors.php +++ b/codegen/Cms/Blogs/Tags/Model/BatchResponseTagWithErrors.php @@ -301,10 +301,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/CollectionResponseWithTotalTagForwardPaging.php b/codegen/Cms/Blogs/Tags/Model/CollectionResponseWithTotalTagForwardPaging.php index e67ed75f7..68fc36d50 100644 --- a/codegen/Cms/Blogs/Tags/Model/CollectionResponseWithTotalTagForwardPaging.php +++ b/codegen/Cms/Blogs/Tags/Model/CollectionResponseWithTotalTagForwardPaging.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/DetachFromLangGroupRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/DetachFromLangGroupRequestVNext.php index 752456162..e899e1499 100644 --- a/codegen/Cms/Blogs/Tags/Model/DetachFromLangGroupRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/DetachFromLangGroupRequestVNext.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Tags/Model/Error.php b/codegen/Cms/Blogs/Tags/Model/Error.php index c284a26d4..462153dbd 100644 --- a/codegen/Cms/Blogs/Tags/Model/Error.php +++ b/codegen/Cms/Blogs/Tags/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/ErrorDetail.php b/codegen/Cms/Blogs/Tags/Model/ErrorDetail.php index 3fbbe65d9..0a25d08af 100644 --- a/codegen/Cms/Blogs/Tags/Model/ErrorDetail.php +++ b/codegen/Cms/Blogs/Tags/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/ForwardPaging.php b/codegen/Cms/Blogs/Tags/Model/ForwardPaging.php index c250de4f6..27391685f 100644 --- a/codegen/Cms/Blogs/Tags/Model/ForwardPaging.php +++ b/codegen/Cms/Blogs/Tags/Model/ForwardPaging.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Tags/Model/NextPage.php b/codegen/Cms/Blogs/Tags/Model/NextPage.php index 033234070..6e454810d 100644 --- a/codegen/Cms/Blogs/Tags/Model/NextPage.php +++ b/codegen/Cms/Blogs/Tags/Model/NextPage.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/SetNewLanguagePrimaryRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/SetNewLanguagePrimaryRequestVNext.php index c991f88e7..260cb2fff 100644 --- a/codegen/Cms/Blogs/Tags/Model/SetNewLanguagePrimaryRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/SetNewLanguagePrimaryRequestVNext.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Cms/Blogs/Tags/Model/StandardError.php b/codegen/Cms/Blogs/Tags/Model/StandardError.php index bb6e57c11..a05a6946f 100644 --- a/codegen/Cms/Blogs/Tags/Model/StandardError.php +++ b/codegen/Cms/Blogs/Tags/Model/StandardError.php @@ -282,10 +282,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/Tag.php b/codegen/Cms/Blogs/Tags/Model/Tag.php index c10d75ddd..a8163ebcf 100644 --- a/codegen/Cms/Blogs/Tags/Model/Tag.php +++ b/codegen/Cms/Blogs/Tags/Model/Tag.php @@ -1795,10 +1795,10 @@ public function getLanguageAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('deleted_at', $data ?? [], null); $this->setIfExists('created', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/TagCloneRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/TagCloneRequestVNext.php index a5f76a812..7bce0f48c 100644 --- a/codegen/Cms/Blogs/Tags/Model/TagCloneRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/TagCloneRequestVNext.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('language', $data ?? [], null); diff --git a/codegen/Cms/Blogs/Tags/Model/UpdateLanguagesRequestVNext.php b/codegen/Cms/Blogs/Tags/Model/UpdateLanguagesRequestVNext.php index 2c633be7d..3bdb98364 100644 --- a/codegen/Cms/Blogs/Tags/Model/UpdateLanguagesRequestVNext.php +++ b/codegen/Cms/Blogs/Tags/Model/UpdateLanguagesRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('languages', $data ?? [], null); $this->setIfExists('primary_id', $data ?? [], null); diff --git a/codegen/Cms/Domains/Api/DomainsApi.php b/codegen/Cms/Domains/Api/DomainsApi.php index 108a66bd5..187df5909 100644 --- a/codegen/Cms/Domains/Api/DomainsApi.php +++ b/codegen/Cms/Domains/Api/DomainsApi.php @@ -80,15 +80,15 @@ class DomainsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Domains/Configuration.php b/codegen/Cms/Domains/Configuration.php index 226db12aa..b406ede19 100644 --- a/codegen/Cms/Domains/Configuration.php +++ b/codegen/Cms/Domains/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/Domains/Model/CollectionResponseWithTotalDomainForwardPaging.php b/codegen/Cms/Domains/Model/CollectionResponseWithTotalDomainForwardPaging.php index 1344a9a56..f08bc6ff4 100644 --- a/codegen/Cms/Domains/Model/CollectionResponseWithTotalDomainForwardPaging.php +++ b/codegen/Cms/Domains/Model/CollectionResponseWithTotalDomainForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Domains/Model/Domain.php b/codegen/Cms/Domains/Model/Domain.php index 10d180408..6b4c73965 100644 --- a/codegen/Cms/Domains/Model/Domain.php +++ b/codegen/Cms/Domains/Model/Domain.php @@ -353,10 +353,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('is_used_for_landing_page', $data ?? [], null); $this->setIfExists('primary_blog_post', $data ?? [], null); diff --git a/codegen/Cms/Domains/Model/Error.php b/codegen/Cms/Domains/Model/Error.php index ce5e3126c..f3c1a7397 100644 --- a/codegen/Cms/Domains/Model/Error.php +++ b/codegen/Cms/Domains/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Domains/Model/ErrorDetail.php b/codegen/Cms/Domains/Model/ErrorDetail.php index 7da1ede8e..05d94a0f4 100644 --- a/codegen/Cms/Domains/Model/ErrorDetail.php +++ b/codegen/Cms/Domains/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/Domains/Model/ForwardPaging.php b/codegen/Cms/Domains/Model/ForwardPaging.php index deb0a23e8..a2437e254 100644 --- a/codegen/Cms/Domains/Model/ForwardPaging.php +++ b/codegen/Cms/Domains/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Cms/Domains/Model/NextPage.php b/codegen/Cms/Domains/Model/NextPage.php index cc1871a6c..5a51f3755 100644 --- a/codegen/Cms/Domains/Model/NextPage.php +++ b/codegen/Cms/Domains/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Api/RowsApi.php b/codegen/Cms/Hubdb/Api/RowsApi.php index 1bd0ce266..fc0b18924 100644 --- a/codegen/Cms/Hubdb/Api/RowsApi.php +++ b/codegen/Cms/Hubdb/Api/RowsApi.php @@ -101,15 +101,15 @@ class RowsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Hubdb/Api/RowsBatchApi.php b/codegen/Cms/Hubdb/Api/RowsBatchApi.php index 7a89edc9d..d245438bb 100644 --- a/codegen/Cms/Hubdb/Api/RowsBatchApi.php +++ b/codegen/Cms/Hubdb/Api/RowsBatchApi.php @@ -95,15 +95,15 @@ class RowsBatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Hubdb/Api/TablesApi.php b/codegen/Cms/Hubdb/Api/TablesApi.php index 8144da584..658275cd0 100644 --- a/codegen/Cms/Hubdb/Api/TablesApi.php +++ b/codegen/Cms/Hubdb/Api/TablesApi.php @@ -116,15 +116,15 @@ class TablesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Hubdb/Configuration.php b/codegen/Cms/Hubdb/Configuration.php index 233cc4641..63d9791c3 100644 --- a/codegen/Cms/Hubdb/Configuration.php +++ b/codegen/Cms/Hubdb/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowBatchCloneRequest.php b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowBatchCloneRequest.php index f7d5c5e1a..7fc6ce9de 100644 --- a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowBatchCloneRequest.php +++ b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowBatchCloneRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3BatchUpdateRequest.php b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3BatchUpdateRequest.php index 463f9df55..9a34d350f 100644 --- a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3BatchUpdateRequest.php +++ b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3BatchUpdateRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3Request.php b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3Request.php index 2bf40a223..23c711a60 100644 --- a/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3Request.php +++ b/codegen/Cms/Hubdb/Model/BatchInputHubDbTableRowV3Request.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Hubdb/Model/BatchInputString.php b/codegen/Cms/Hubdb/Model/BatchInputString.php index 2c0605f22..0eeff7b0a 100644 --- a/codegen/Cms/Hubdb/Model/BatchInputString.php +++ b/codegen/Cms/Hubdb/Model/BatchInputString.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3.php b/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3.php index 2837a1f26..d5efd389d 100644 --- a/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3.php +++ b/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3WithErrors.php b/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3WithErrors.php index 9c0af7a20..7b797ab48 100644 --- a/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3WithErrors.php +++ b/codegen/Cms/Hubdb/Model/BatchResponseHubDbTableRowV3WithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/BoundedNextPage.php b/codegen/Cms/Hubdb/Model/BoundedNextPage.php index 378621c9c..af19cc820 100644 --- a/codegen/Cms/Hubdb/Model/BoundedNextPage.php +++ b/codegen/Cms/Hubdb/Model/BoundedNextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('offset', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/BoundedPaging.php b/codegen/Cms/Hubdb/Model/BoundedPaging.php index 40e85497d..f0787279a 100644 --- a/codegen/Cms/Hubdb/Model/BoundedPaging.php +++ b/codegen/Cms/Hubdb/Model/BoundedPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableV3ForwardPaging.php b/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableV3ForwardPaging.php index b089dfc07..51c8cb919 100644 --- a/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableV3ForwardPaging.php +++ b/codegen/Cms/Hubdb/Model/CollectionResponseWithTotalHubDbTableV3ForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/Column.php b/codegen/Cms/Hubdb/Model/Column.php index d836aedc3..9fb4ea984 100644 --- a/codegen/Cms/Hubdb/Model/Column.php +++ b/codegen/Cms/Hubdb/Model/Column.php @@ -404,10 +404,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_by_user_id', $data ?? [], null); $this->setIfExists('foreign_table_id', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/ColumnRequest.php b/codegen/Cms/Hubdb/Model/ColumnRequest.php index 20fd8e085..991a5bcea 100644 --- a/codegen/Cms/Hubdb/Model/ColumnRequest.php +++ b/codegen/Cms/Hubdb/Model/ColumnRequest.php @@ -326,10 +326,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('foreign_table_id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/Error.php b/codegen/Cms/Hubdb/Model/Error.php index 265c7ead0..a05727582 100644 --- a/codegen/Cms/Hubdb/Model/Error.php +++ b/codegen/Cms/Hubdb/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/ErrorDetail.php b/codegen/Cms/Hubdb/Model/ErrorDetail.php index bb30eda09..92cc029a8 100644 --- a/codegen/Cms/Hubdb/Model/ErrorDetail.php +++ b/codegen/Cms/Hubdb/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/ForeignId.php b/codegen/Cms/Hubdb/Model/ForeignId.php index ff6cba3bb..f989749c4 100644 --- a/codegen/Cms/Hubdb/Model/ForeignId.php +++ b/codegen/Cms/Hubdb/Model/ForeignId.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/ForwardPaging.php b/codegen/Cms/Hubdb/Model/ForwardPaging.php index 389b45b31..b28ab7d09 100644 --- a/codegen/Cms/Hubdb/Model/ForwardPaging.php +++ b/codegen/Cms/Hubdb/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Cms/Hubdb/Model/HubDbTableCloneRequest.php b/codegen/Cms/Hubdb/Model/HubDbTableCloneRequest.php index 377abd0af..c8322c27c 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableCloneRequest.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableCloneRequest.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('new_name', $data ?? [], null); $this->setIfExists('is_hubspot_defined', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/HubDbTableRowBatchCloneRequest.php b/codegen/Cms/Hubdb/Model/HubDbTableRowBatchCloneRequest.php index 933223ec2..8346e3841 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableRowBatchCloneRequest.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableRowBatchCloneRequest.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php b/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php index b84351eda..2dce80ec5 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableRowV3.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('path', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/HubDbTableRowV3BatchUpdateRequest.php b/codegen/Cms/Hubdb/Model/HubDbTableRowV3BatchUpdateRequest.php index a151f3fee..d65434c10 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableRowV3BatchUpdateRequest.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableRowV3BatchUpdateRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('path', $data ?? [], null); $this->setIfExists('child_table_id', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/HubDbTableRowV3Request.php b/codegen/Cms/Hubdb/Model/HubDbTableRowV3Request.php index 5352cec95..08292a068 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableRowV3Request.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableRowV3Request.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('path', $data ?? [], null); $this->setIfExists('child_table_id', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/HubDbTableV3.php b/codegen/Cms/Hubdb/Model/HubDbTableV3.php index 46013e9c4..d9bad65e5 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableV3.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableV3.php @@ -347,10 +347,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dynamic_meta_tags', $data ?? [], null); $this->setIfExists('updated_by', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/HubDbTableV3Request.php b/codegen/Cms/Hubdb/Model/HubDbTableV3Request.php index 61f3b9c9b..d591267b7 100644 --- a/codegen/Cms/Hubdb/Model/HubDbTableV3Request.php +++ b/codegen/Cms/Hubdb/Model/HubDbTableV3Request.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dynamic_meta_tags', $data ?? [], null); $this->setIfExists('allow_public_api_access', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/ImportResult.php b/codegen/Cms/Hubdb/Model/ImportResult.php index 6aec95fed..45f942735 100644 --- a/codegen/Cms/Hubdb/Model/ImportResult.php +++ b/codegen/Cms/Hubdb/Model/ImportResult.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('row_limit_exceeded', $data ?? [], null); $this->setIfExists('duplicate_rows', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/NextPage.php b/codegen/Cms/Hubdb/Model/NextPage.php index 342a4279f..72dd55e4b 100644 --- a/codegen/Cms/Hubdb/Model/NextPage.php +++ b/codegen/Cms/Hubdb/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/Option.php b/codegen/Cms/Hubdb/Model/Option.php index 34739d91d..817992292 100644 --- a/codegen/Cms/Hubdb/Model/Option.php +++ b/codegen/Cms/Hubdb/Model/Option.php @@ -299,10 +299,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_by_user_id', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/Paging.php b/codegen/Cms/Hubdb/Model/Paging.php index 7a56ca8e2..052963488 100644 --- a/codegen/Cms/Hubdb/Model/Paging.php +++ b/codegen/Cms/Hubdb/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/PreviousPage.php b/codegen/Cms/Hubdb/Model/PreviousPage.php index c976ad217..0cb340bcb 100644 --- a/codegen/Cms/Hubdb/Model/PreviousPage.php +++ b/codegen/Cms/Hubdb/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/RandomAccessCollectionResponseWithTotalHubDbTableRowV3.php b/codegen/Cms/Hubdb/Model/RandomAccessCollectionResponseWithTotalHubDbTableRowV3.php index 38de10310..faedf1b45 100644 --- a/codegen/Cms/Hubdb/Model/RandomAccessCollectionResponseWithTotalHubDbTableRowV3.php +++ b/codegen/Cms/Hubdb/Model/RandomAccessCollectionResponseWithTotalHubDbTableRowV3.php @@ -270,10 +270,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/SimpleUser.php b/codegen/Cms/Hubdb/Model/SimpleUser.php index 2a1adf77b..c1a84253a 100644 --- a/codegen/Cms/Hubdb/Model/SimpleUser.php +++ b/codegen/Cms/Hubdb/Model/SimpleUser.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('first_name', $data ?? [], null); $this->setIfExists('last_name', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/StandardError.php b/codegen/Cms/Hubdb/Model/StandardError.php index 9a43cace6..683259a51 100644 --- a/codegen/Cms/Hubdb/Model/StandardError.php +++ b/codegen/Cms/Hubdb/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/StreamingCollectionResponseWithTotalHubDbTableRowV3.php b/codegen/Cms/Hubdb/Model/StreamingCollectionResponseWithTotalHubDbTableRowV3.php index 12fdd58bf..6c8df5b7f 100644 --- a/codegen/Cms/Hubdb/Model/StreamingCollectionResponseWithTotalHubDbTableRowV3.php +++ b/codegen/Cms/Hubdb/Model/StreamingCollectionResponseWithTotalHubDbTableRowV3.php @@ -270,10 +270,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Hubdb/Model/UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3.php b/codegen/Cms/Hubdb/Model/UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3.php index 6445d5869..113f12065 100644 --- a/codegen/Cms/Hubdb/Model/UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3.php +++ b/codegen/Cms/Hubdb/Model/UnifiedCollectionResponseWithTotalBaseHubDbTableRowV3.php @@ -272,10 +272,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Pages/Api/LandingPagesApi.php b/codegen/Cms/Pages/Api/LandingPagesApi.php index f908fb41b..c64b7e473 100644 --- a/codegen/Cms/Pages/Api/LandingPagesApi.php +++ b/codegen/Cms/Pages/Api/LandingPagesApi.php @@ -191,15 +191,15 @@ class LandingPagesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Pages/Api/SitePagesApi.php b/codegen/Cms/Pages/Api/SitePagesApi.php index 84a537aae..225e8d657 100644 --- a/codegen/Cms/Pages/Api/SitePagesApi.php +++ b/codegen/Cms/Pages/Api/SitePagesApi.php @@ -155,15 +155,15 @@ class SitePagesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Pages/Configuration.php b/codegen/Cms/Pages/Configuration.php index 46c50f9ae..facaade35 100644 --- a/codegen/Cms/Pages/Configuration.php +++ b/codegen/Cms/Pages/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/Pages/Model/AbTestCreateRequestVNext.php b/codegen/Cms/Pages/Model/AbTestCreateRequestVNext.php index d05fbefec..5747410f5 100644 --- a/codegen/Cms/Pages/Model/AbTestCreateRequestVNext.php +++ b/codegen/Cms/Pages/Model/AbTestCreateRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('variation_name', $data ?? [], null); $this->setIfExists('content_id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/AbTestEndRequestVNext.php b/codegen/Cms/Pages/Model/AbTestEndRequestVNext.php index 560e9ef9c..66ef671c8 100644 --- a/codegen/Cms/Pages/Model/AbTestEndRequestVNext.php +++ b/codegen/Cms/Pages/Model/AbTestEndRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('winner_id', $data ?? [], null); $this->setIfExists('ab_test_id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/AbTestRerunRequestVNext.php b/codegen/Cms/Pages/Model/AbTestRerunRequestVNext.php index 751e90a30..87f3d9795 100644 --- a/codegen/Cms/Pages/Model/AbTestRerunRequestVNext.php +++ b/codegen/Cms/Pages/Model/AbTestRerunRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('variation_id', $data ?? [], null); $this->setIfExists('ab_test_id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/Angle.php b/codegen/Cms/Pages/Model/Angle.php index 0ebb419af..f37423c7a 100644 --- a/codegen/Cms/Pages/Model/Angle.php +++ b/codegen/Cms/Pages/Model/Angle.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('units', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/AttachToLangPrimaryRequestVNext.php b/codegen/Cms/Pages/Model/AttachToLangPrimaryRequestVNext.php index 4cc77876d..191ae6ef6 100644 --- a/codegen/Cms/Pages/Model/AttachToLangPrimaryRequestVNext.php +++ b/codegen/Cms/Pages/Model/AttachToLangPrimaryRequestVNext.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/BackgroundImage.php b/codegen/Cms/Pages/Model/BackgroundImage.php index 692e77187..63d06dab6 100644 --- a/codegen/Cms/Pages/Model/BackgroundImage.php +++ b/codegen/Cms/Pages/Model/BackgroundImage.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('image_url', $data ?? [], null); $this->setIfExists('background_size', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/BatchInputContentFolder.php b/codegen/Cms/Pages/Model/BatchInputContentFolder.php index bfac6615e..e3c7303b3 100644 --- a/codegen/Cms/Pages/Model/BatchInputContentFolder.php +++ b/codegen/Cms/Pages/Model/BatchInputContentFolder.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Pages/Model/BatchInputJsonNode.php b/codegen/Cms/Pages/Model/BatchInputJsonNode.php index 045c27ce1..14eeaa571 100644 --- a/codegen/Cms/Pages/Model/BatchInputJsonNode.php +++ b/codegen/Cms/Pages/Model/BatchInputJsonNode.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Pages/Model/BatchInputPage.php b/codegen/Cms/Pages/Model/BatchInputPage.php index f544debee..4689ba8f6 100644 --- a/codegen/Cms/Pages/Model/BatchInputPage.php +++ b/codegen/Cms/Pages/Model/BatchInputPage.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Pages/Model/BatchInputString.php b/codegen/Cms/Pages/Model/BatchInputString.php index aecc8022e..63e0b807f 100644 --- a/codegen/Cms/Pages/Model/BatchInputString.php +++ b/codegen/Cms/Pages/Model/BatchInputString.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Cms/Pages/Model/BatchResponseContentFolder.php b/codegen/Cms/Pages/Model/BatchResponseContentFolder.php index 101aad392..f832cf5f3 100644 --- a/codegen/Cms/Pages/Model/BatchResponseContentFolder.php +++ b/codegen/Cms/Pages/Model/BatchResponseContentFolder.php @@ -289,10 +289,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/BatchResponseContentFolderWithErrors.php b/codegen/Cms/Pages/Model/BatchResponseContentFolderWithErrors.php index ac2cf005d..45c5f7522 100644 --- a/codegen/Cms/Pages/Model/BatchResponseContentFolderWithErrors.php +++ b/codegen/Cms/Pages/Model/BatchResponseContentFolderWithErrors.php @@ -301,10 +301,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/BatchResponsePage.php b/codegen/Cms/Pages/Model/BatchResponsePage.php index fef504ba3..538736219 100644 --- a/codegen/Cms/Pages/Model/BatchResponsePage.php +++ b/codegen/Cms/Pages/Model/BatchResponsePage.php @@ -289,10 +289,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/BatchResponsePageWithErrors.php b/codegen/Cms/Pages/Model/BatchResponsePageWithErrors.php index 0aca79a30..8bccdc972 100644 --- a/codegen/Cms/Pages/Model/BatchResponsePageWithErrors.php +++ b/codegen/Cms/Pages/Model/BatchResponsePageWithErrors.php @@ -301,10 +301,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/CollectionResponseWithTotalContentFolderForwardPaging.php b/codegen/Cms/Pages/Model/CollectionResponseWithTotalContentFolderForwardPaging.php index 10252eb97..784c952c1 100644 --- a/codegen/Cms/Pages/Model/CollectionResponseWithTotalContentFolderForwardPaging.php +++ b/codegen/Cms/Pages/Model/CollectionResponseWithTotalContentFolderForwardPaging.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/CollectionResponseWithTotalPageForwardPaging.php b/codegen/Cms/Pages/Model/CollectionResponseWithTotalPageForwardPaging.php index ad7c4dde7..8bbdf0ef1 100644 --- a/codegen/Cms/Pages/Model/CollectionResponseWithTotalPageForwardPaging.php +++ b/codegen/Cms/Pages/Model/CollectionResponseWithTotalPageForwardPaging.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionContentFolder.php b/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionContentFolder.php index fd5f531ed..7db8f83b4 100644 --- a/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionContentFolder.php +++ b/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionContentFolder.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionPage.php b/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionPage.php index 183e006b2..fac21b44f 100644 --- a/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionPage.php +++ b/codegen/Cms/Pages/Model/CollectionResponseWithTotalVersionPage.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/ColorStop.php b/codegen/Cms/Pages/Model/ColorStop.php index ed9746d76..ec7e6288d 100644 --- a/codegen/Cms/Pages/Model/ColorStop.php +++ b/codegen/Cms/Pages/Model/ColorStop.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('color', $data ?? [], null); } diff --git a/codegen/Cms/Pages/Model/ContentCloneRequestVNext.php b/codegen/Cms/Pages/Model/ContentCloneRequestVNext.php index fa0f93d5a..6ac6aa5db 100644 --- a/codegen/Cms/Pages/Model/ContentCloneRequestVNext.php +++ b/codegen/Cms/Pages/Model/ContentCloneRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('clone_name', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/ContentFolder.php b/codegen/Cms/Pages/Model/ContentFolder.php index a93b867ca..1511ad751 100644 --- a/codegen/Cms/Pages/Model/ContentFolder.php +++ b/codegen/Cms/Pages/Model/ContentFolder.php @@ -276,10 +276,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('deleted_at', $data ?? [], null); $this->setIfExists('parent_folder_id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/ContentLanguageCloneRequestVNext.php b/codegen/Cms/Pages/Model/ContentLanguageCloneRequestVNext.php index ac215ad33..77dd6f520 100644 --- a/codegen/Cms/Pages/Model/ContentLanguageCloneRequestVNext.php +++ b/codegen/Cms/Pages/Model/ContentLanguageCloneRequestVNext.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('language', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/ContentLanguageVariation.php b/codegen/Cms/Pages/Model/ContentLanguageVariation.php index dd0c01285..b5715d74d 100644 --- a/codegen/Cms/Pages/Model/ContentLanguageVariation.php +++ b/codegen/Cms/Pages/Model/ContentLanguageVariation.php @@ -317,10 +317,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('archived_in_dashboard', $data ?? [], null); $this->setIfExists('created', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/ContentScheduleRequestVNext.php b/codegen/Cms/Pages/Model/ContentScheduleRequestVNext.php index df779bbcd..25d77b7be 100644 --- a/codegen/Cms/Pages/Model/ContentScheduleRequestVNext.php +++ b/codegen/Cms/Pages/Model/ContentScheduleRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('publish_date', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/DetachFromLangGroupRequestVNext.php b/codegen/Cms/Pages/Model/DetachFromLangGroupRequestVNext.php index 3e6d11d94..deebecb55 100644 --- a/codegen/Cms/Pages/Model/DetachFromLangGroupRequestVNext.php +++ b/codegen/Cms/Pages/Model/DetachFromLangGroupRequestVNext.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Cms/Pages/Model/Error.php b/codegen/Cms/Pages/Model/Error.php index 9d9143e02..b0527b369 100644 --- a/codegen/Cms/Pages/Model/Error.php +++ b/codegen/Cms/Pages/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/ErrorDetail.php b/codegen/Cms/Pages/Model/ErrorDetail.php index 058cbc11b..c4cc2a723 100644 --- a/codegen/Cms/Pages/Model/ErrorDetail.php +++ b/codegen/Cms/Pages/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/ForwardPaging.php b/codegen/Cms/Pages/Model/ForwardPaging.php index 6f8f69092..a8bf3dcbc 100644 --- a/codegen/Cms/Pages/Model/ForwardPaging.php +++ b/codegen/Cms/Pages/Model/ForwardPaging.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Cms/Pages/Model/Gradient.php b/codegen/Cms/Pages/Model/Gradient.php index bc6288434..dbc159e69 100644 --- a/codegen/Cms/Pages/Model/Gradient.php +++ b/codegen/Cms/Pages/Model/Gradient.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('angle', $data ?? [], null); $this->setIfExists('side_or_corner', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/LayoutSection.php b/codegen/Cms/Pages/Model/LayoutSection.php index 2fe36c81e..a862c600d 100644 --- a/codegen/Cms/Pages/Model/LayoutSection.php +++ b/codegen/Cms/Pages/Model/LayoutSection.php @@ -311,10 +311,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('css_style', $data ?? [], null); $this->setIfExists('label', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/NextPage.php b/codegen/Cms/Pages/Model/NextPage.php index e1b6a0cb2..a0ac30ec2 100644 --- a/codegen/Cms/Pages/Model/NextPage.php +++ b/codegen/Cms/Pages/Model/NextPage.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/Page.php b/codegen/Cms/Pages/Model/Page.php index ad9d43c25..b3aad6a7f 100644 --- a/codegen/Cms/Pages/Model/Page.php +++ b/codegen/Cms/Pages/Model/Page.php @@ -2232,10 +2232,10 @@ public function getCurrentStateAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('publish_date', $data ?? [], null); $this->setIfExists('language', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/Paging.php b/codegen/Cms/Pages/Model/Paging.php index bb4b19276..d5d453659 100644 --- a/codegen/Cms/Pages/Model/Paging.php +++ b/codegen/Cms/Pages/Model/Paging.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/PreviousPage.php b/codegen/Cms/Pages/Model/PreviousPage.php index 116c5e562..5bbf6a928 100644 --- a/codegen/Cms/Pages/Model/PreviousPage.php +++ b/codegen/Cms/Pages/Model/PreviousPage.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/RGBAColor.php b/codegen/Cms/Pages/Model/RGBAColor.php index 78218c99c..e5aa06e3e 100644 --- a/codegen/Cms/Pages/Model/RGBAColor.php +++ b/codegen/Cms/Pages/Model/RGBAColor.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('a', $data ?? [], null); $this->setIfExists('r', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/RowMetaData.php b/codegen/Cms/Pages/Model/RowMetaData.php index b40fe33d2..e6c2ba8fe 100644 --- a/codegen/Cms/Pages/Model/RowMetaData.php +++ b/codegen/Cms/Pages/Model/RowMetaData.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('css_class', $data ?? [], null); $this->setIfExists('styles', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/SetNewLanguagePrimaryRequestVNext.php b/codegen/Cms/Pages/Model/SetNewLanguagePrimaryRequestVNext.php index 1067158df..fb959c3ff 100644 --- a/codegen/Cms/Pages/Model/SetNewLanguagePrimaryRequestVNext.php +++ b/codegen/Cms/Pages/Model/SetNewLanguagePrimaryRequestVNext.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Cms/Pages/Model/SideOrCorner.php b/codegen/Cms/Pages/Model/SideOrCorner.php index 2bfb65e19..910398bb1 100644 --- a/codegen/Cms/Pages/Model/SideOrCorner.php +++ b/codegen/Cms/Pages/Model/SideOrCorner.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('horizontal_side', $data ?? [], null); $this->setIfExists('vertical_side', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/StandardError.php b/codegen/Cms/Pages/Model/StandardError.php index 360a9e9df..1a45b4f2f 100644 --- a/codegen/Cms/Pages/Model/StandardError.php +++ b/codegen/Cms/Pages/Model/StandardError.php @@ -282,10 +282,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/Styles.php b/codegen/Cms/Pages/Model/Styles.php index 131aefe62..33cb60694 100644 --- a/codegen/Cms/Pages/Model/Styles.php +++ b/codegen/Cms/Pages/Model/Styles.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('background_color', $data ?? [], null); $this->setIfExists('flexbox_positioning', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/UpdateLanguagesRequestVNext.php b/codegen/Cms/Pages/Model/UpdateLanguagesRequestVNext.php index c06eb02fd..91ff977c6 100644 --- a/codegen/Cms/Pages/Model/UpdateLanguagesRequestVNext.php +++ b/codegen/Cms/Pages/Model/UpdateLanguagesRequestVNext.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('languages', $data ?? [], null); $this->setIfExists('primary_id', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/VersionContentFolder.php b/codegen/Cms/Pages/Model/VersionContentFolder.php index e899c8a3a..dd8e6328c 100644 --- a/codegen/Cms/Pages/Model/VersionContentFolder.php +++ b/codegen/Cms/Pages/Model/VersionContentFolder.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('user', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/VersionPage.php b/codegen/Cms/Pages/Model/VersionPage.php index 42122787b..45fc3dcbe 100644 --- a/codegen/Cms/Pages/Model/VersionPage.php +++ b/codegen/Cms/Pages/Model/VersionPage.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('user', $data ?? [], null); diff --git a/codegen/Cms/Pages/Model/VersionUser.php b/codegen/Cms/Pages/Model/VersionUser.php index f7850bd41..fe3fe21b0 100644 --- a/codegen/Cms/Pages/Model/VersionUser.php +++ b/codegen/Cms/Pages/Model/VersionUser.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('full_name', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/Performance/Api/PublicPerformanceApi.php b/codegen/Cms/Performance/Api/PublicPerformanceApi.php index 8ccc229f8..c140769c5 100644 --- a/codegen/Cms/Performance/Api/PublicPerformanceApi.php +++ b/codegen/Cms/Performance/Api/PublicPerformanceApi.php @@ -80,15 +80,15 @@ class PublicPerformanceApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/Performance/Configuration.php b/codegen/Cms/Performance/Configuration.php index 00f23fdc6..f2b9e02a1 100644 --- a/codegen/Cms/Performance/Configuration.php +++ b/codegen/Cms/Performance/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/Performance/Model/Error.php b/codegen/Cms/Performance/Model/Error.php index c09bed04c..7f56fb472 100644 --- a/codegen/Cms/Performance/Model/Error.php +++ b/codegen/Cms/Performance/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/Performance/Model/ErrorDetail.php b/codegen/Cms/Performance/Model/ErrorDetail.php index d47676142..f61ca211c 100644 --- a/codegen/Cms/Performance/Model/ErrorDetail.php +++ b/codegen/Cms/Performance/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/Performance/Model/PerformanceView.php b/codegen/Cms/Performance/Model/PerformanceView.php index 0826257a1..3ab16ac18 100644 --- a/codegen/Cms/Performance/Model/PerformanceView.php +++ b/codegen/Cms/Performance/Model/PerformanceView.php @@ -366,10 +366,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('_403', $data ?? [], null); $this->setIfExists('_404', $data ?? [], null); diff --git a/codegen/Cms/Performance/Model/PublicPerformanceResponse.php b/codegen/Cms/Performance/Model/PublicPerformanceResponse.php index 4d4fb1f63..ff01ed738 100644 --- a/codegen/Cms/Performance/Model/PublicPerformanceResponse.php +++ b/codegen/Cms/Performance/Model/PublicPerformanceResponse.php @@ -337,10 +337,10 @@ public function getIntervalAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('path', $data ?? [], null); $this->setIfExists('period', $data ?? [], null); diff --git a/codegen/Cms/SiteSearch/Api/PublicApi.php b/codegen/Cms/SiteSearch/Api/PublicApi.php index 9a4785bb1..7cb9a2968 100644 --- a/codegen/Cms/SiteSearch/Api/PublicApi.php +++ b/codegen/Cms/SiteSearch/Api/PublicApi.php @@ -80,15 +80,15 @@ class PublicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SiteSearch/Configuration.php b/codegen/Cms/SiteSearch/Configuration.php index e0315b669..12d98866a 100644 --- a/codegen/Cms/SiteSearch/Configuration.php +++ b/codegen/Cms/SiteSearch/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/SiteSearch/Model/ContentSearchResult.php b/codegen/Cms/SiteSearch/Model/ContentSearchResult.php index 71f7e2955..e57694420 100644 --- a/codegen/Cms/SiteSearch/Model/ContentSearchResult.php +++ b/codegen/Cms/SiteSearch/Model/ContentSearchResult.php @@ -1876,10 +1876,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('combined_id', $data ?? [], null); $this->setIfExists('description', $data ?? [], null); diff --git a/codegen/Cms/SiteSearch/Model/Error.php b/codegen/Cms/SiteSearch/Model/Error.php index 8dce9382a..34fc67f6f 100644 --- a/codegen/Cms/SiteSearch/Model/Error.php +++ b/codegen/Cms/SiteSearch/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/SiteSearch/Model/ErrorDetail.php b/codegen/Cms/SiteSearch/Model/ErrorDetail.php index 7837cfaba..23ac17ee8 100644 --- a/codegen/Cms/SiteSearch/Model/ErrorDetail.php +++ b/codegen/Cms/SiteSearch/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/SiteSearch/Model/IndexedData.php b/codegen/Cms/SiteSearch/Model/IndexedData.php index d4190a0a8..538524a60 100644 --- a/codegen/Cms/SiteSearch/Model/IndexedData.php +++ b/codegen/Cms/SiteSearch/Model/IndexedData.php @@ -273,10 +273,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Cms/SiteSearch/Model/IndexedField.php b/codegen/Cms/SiteSearch/Model/IndexedField.php index ba32081c1..af3444604 100644 --- a/codegen/Cms/SiteSearch/Model/IndexedField.php +++ b/codegen/Cms/SiteSearch/Model/IndexedField.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('values', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Cms/SiteSearch/Model/PublicSearchResults.php b/codegen/Cms/SiteSearch/Model/PublicSearchResults.php index 0b5959a7f..2051ede46 100644 --- a/codegen/Cms/SiteSearch/Model/PublicSearchResults.php +++ b/codegen/Cms/SiteSearch/Model/PublicSearchResults.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('search_term', $data ?? [], null); diff --git a/codegen/Cms/SourceCode/Api/ContentApi.php b/codegen/Cms/SourceCode/Api/ContentApi.php index 356a5b5d2..baae934a4 100644 --- a/codegen/Cms/SourceCode/Api/ContentApi.php +++ b/codegen/Cms/SourceCode/Api/ContentApi.php @@ -86,15 +86,15 @@ class ContentApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Api/ExtractApi.php b/codegen/Cms/SourceCode/Api/ExtractApi.php index 989b8d473..c6cfd9ec3 100644 --- a/codegen/Cms/SourceCode/Api/ExtractApi.php +++ b/codegen/Cms/SourceCode/Api/ExtractApi.php @@ -80,15 +80,15 @@ class ExtractApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Api/MetadataApi.php b/codegen/Cms/SourceCode/Api/MetadataApi.php index 335733fbb..6d903bd6b 100644 --- a/codegen/Cms/SourceCode/Api/MetadataApi.php +++ b/codegen/Cms/SourceCode/Api/MetadataApi.php @@ -77,15 +77,15 @@ class MetadataApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Api/ValidationApi.php b/codegen/Cms/SourceCode/Api/ValidationApi.php index 17cf03e81..570bf4581 100644 --- a/codegen/Cms/SourceCode/Api/ValidationApi.php +++ b/codegen/Cms/SourceCode/Api/ValidationApi.php @@ -77,15 +77,15 @@ class ValidationApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/SourceCode/Configuration.php b/codegen/Cms/SourceCode/Configuration.php index b16acaf76..2265c8f5d 100644 --- a/codegen/Cms/SourceCode/Configuration.php +++ b/codegen/Cms/SourceCode/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/SourceCode/Model/ActionResponse.php b/codegen/Cms/SourceCode/Model/ActionResponse.php index f7e545d0a..8b8712364 100644 --- a/codegen/Cms/SourceCode/Model/ActionResponse.php +++ b/codegen/Cms/SourceCode/Model/ActionResponse.php @@ -282,10 +282,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Cms/SourceCode/Model/AssetFileMetadata.php b/codegen/Cms/SourceCode/Model/AssetFileMetadata.php index a0a21309e..1ba46e8bb 100644 --- a/codegen/Cms/SourceCode/Model/AssetFileMetadata.php +++ b/codegen/Cms/SourceCode/Model/AssetFileMetadata.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived_at', $data ?? [], null); diff --git a/codegen/Cms/SourceCode/Model/Error.php b/codegen/Cms/SourceCode/Model/Error.php index a672e098e..60e04e327 100644 --- a/codegen/Cms/SourceCode/Model/Error.php +++ b/codegen/Cms/SourceCode/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/SourceCode/Model/ErrorDetail.php b/codegen/Cms/SourceCode/Model/ErrorDetail.php index e81a1b956..5a1e967c5 100644 --- a/codegen/Cms/SourceCode/Model/ErrorDetail.php +++ b/codegen/Cms/SourceCode/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/SourceCode/Model/FileExtractRequest.php b/codegen/Cms/SourceCode/Model/FileExtractRequest.php index e227bbf81..7dd8497a7 100644 --- a/codegen/Cms/SourceCode/Model/FileExtractRequest.php +++ b/codegen/Cms/SourceCode/Model/FileExtractRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('path', $data ?? [], null); } diff --git a/codegen/Cms/SourceCode/Model/TaskLocator.php b/codegen/Cms/SourceCode/Model/TaskLocator.php index af9941250..593b2bb3b 100644 --- a/codegen/Cms/SourceCode/Model/TaskLocator.php +++ b/codegen/Cms/SourceCode/Model/TaskLocator.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Cms/UrlRedirects/Api/RedirectsApi.php b/codegen/Cms/UrlRedirects/Api/RedirectsApi.php index d60ee7a8a..7fe745b8c 100644 --- a/codegen/Cms/UrlRedirects/Api/RedirectsApi.php +++ b/codegen/Cms/UrlRedirects/Api/RedirectsApi.php @@ -89,15 +89,15 @@ class RedirectsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Cms/UrlRedirects/Configuration.php b/codegen/Cms/UrlRedirects/Configuration.php index dda854482..65bb08bc8 100644 --- a/codegen/Cms/UrlRedirects/Configuration.php +++ b/codegen/Cms/UrlRedirects/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Cms/UrlRedirects/Model/CollectionResponseWithTotalUrlMappingForwardPaging.php b/codegen/Cms/UrlRedirects/Model/CollectionResponseWithTotalUrlMappingForwardPaging.php index 7fdfa15d0..62e05283e 100644 --- a/codegen/Cms/UrlRedirects/Model/CollectionResponseWithTotalUrlMappingForwardPaging.php +++ b/codegen/Cms/UrlRedirects/Model/CollectionResponseWithTotalUrlMappingForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Cms/UrlRedirects/Model/Error.php b/codegen/Cms/UrlRedirects/Model/Error.php index 5dba9267e..5d3f47cd9 100644 --- a/codegen/Cms/UrlRedirects/Model/Error.php +++ b/codegen/Cms/UrlRedirects/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Cms/UrlRedirects/Model/ErrorDetail.php b/codegen/Cms/UrlRedirects/Model/ErrorDetail.php index fdb97fa12..2aaddecb1 100644 --- a/codegen/Cms/UrlRedirects/Model/ErrorDetail.php +++ b/codegen/Cms/UrlRedirects/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Cms/UrlRedirects/Model/ForwardPaging.php b/codegen/Cms/UrlRedirects/Model/ForwardPaging.php index bdd649279..96d5e5309 100644 --- a/codegen/Cms/UrlRedirects/Model/ForwardPaging.php +++ b/codegen/Cms/UrlRedirects/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Cms/UrlRedirects/Model/NextPage.php b/codegen/Cms/UrlRedirects/Model/NextPage.php index 9104737e9..b99f84154 100644 --- a/codegen/Cms/UrlRedirects/Model/NextPage.php +++ b/codegen/Cms/UrlRedirects/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Cms/UrlRedirects/Model/UrlMapping.php b/codegen/Cms/UrlRedirects/Model/UrlMapping.php index 4a7ffc56a..5a9c4d7ef 100644 --- a/codegen/Cms/UrlRedirects/Model/UrlMapping.php +++ b/codegen/Cms/UrlRedirects/Model/UrlMapping.php @@ -311,10 +311,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('is_trailing_slash_optional', $data ?? [], null); $this->setIfExists('redirect_style', $data ?? [], null); diff --git a/codegen/Cms/UrlRedirects/Model/UrlMappingCreateRequestBody.php b/codegen/Cms/UrlRedirects/Model/UrlMappingCreateRequestBody.php index 971ac202d..065b5751d 100644 --- a/codegen/Cms/UrlRedirects/Model/UrlMappingCreateRequestBody.php +++ b/codegen/Cms/UrlRedirects/Model/UrlMappingCreateRequestBody.php @@ -293,10 +293,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('is_trailing_slash_optional', $data ?? [], null); $this->setIfExists('is_match_query_string', $data ?? [], null); diff --git a/codegen/CommunicationPreferences/Api/DefinitionApi.php b/codegen/CommunicationPreferences/Api/DefinitionApi.php index b7fa68f95..a132a2dad 100644 --- a/codegen/CommunicationPreferences/Api/DefinitionApi.php +++ b/codegen/CommunicationPreferences/Api/DefinitionApi.php @@ -77,15 +77,15 @@ class DefinitionApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/CommunicationPreferences/Api/StatusApi.php b/codegen/CommunicationPreferences/Api/StatusApi.php index eba75989f..63c3d388f 100644 --- a/codegen/CommunicationPreferences/Api/StatusApi.php +++ b/codegen/CommunicationPreferences/Api/StatusApi.php @@ -83,15 +83,15 @@ class StatusApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/CommunicationPreferences/Configuration.php b/codegen/CommunicationPreferences/Configuration.php index 124d2a26d..4cf6a83ec 100644 --- a/codegen/CommunicationPreferences/Configuration.php +++ b/codegen/CommunicationPreferences/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/CommunicationPreferences/Model/Error.php b/codegen/CommunicationPreferences/Model/Error.php index 0f292a873..d3a7e4521 100644 --- a/codegen/CommunicationPreferences/Model/Error.php +++ b/codegen/CommunicationPreferences/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/CommunicationPreferences/Model/ErrorDetail.php b/codegen/CommunicationPreferences/Model/ErrorDetail.php index 228fc4e86..8f1d3ac72 100644 --- a/codegen/CommunicationPreferences/Model/ErrorDetail.php +++ b/codegen/CommunicationPreferences/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/CommunicationPreferences/Model/PublicSubscriptionStatus.php b/codegen/CommunicationPreferences/Model/PublicSubscriptionStatus.php index 4b976f829..0e47650ba 100644 --- a/codegen/CommunicationPreferences/Model/PublicSubscriptionStatus.php +++ b/codegen/CommunicationPreferences/Model/PublicSubscriptionStatus.php @@ -344,10 +344,10 @@ public function getSourceOfStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('brand_id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/CommunicationPreferences/Model/PublicSubscriptionStatusesResponse.php b/codegen/CommunicationPreferences/Model/PublicSubscriptionStatusesResponse.php index 7ab1094e3..73507ab96 100644 --- a/codegen/CommunicationPreferences/Model/PublicSubscriptionStatusesResponse.php +++ b/codegen/CommunicationPreferences/Model/PublicSubscriptionStatusesResponse.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('recipient', $data ?? [], null); $this->setIfExists('subscription_statuses', $data ?? [], null); diff --git a/codegen/CommunicationPreferences/Model/PublicUpdateSubscriptionStatusRequest.php b/codegen/CommunicationPreferences/Model/PublicUpdateSubscriptionStatusRequest.php index 15385cc8a..0221eb366 100644 --- a/codegen/CommunicationPreferences/Model/PublicUpdateSubscriptionStatusRequest.php +++ b/codegen/CommunicationPreferences/Model/PublicUpdateSubscriptionStatusRequest.php @@ -282,10 +282,10 @@ public function getLegalBasisAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('email_address', $data ?? [], null); $this->setIfExists('legal_basis', $data ?? [], null); diff --git a/codegen/CommunicationPreferences/Model/SubscriptionDefinition.php b/codegen/CommunicationPreferences/Model/SubscriptionDefinition.php index 51ce5daf9..fcf79610e 100644 --- a/codegen/CommunicationPreferences/Model/SubscriptionDefinition.php +++ b/codegen/CommunicationPreferences/Model/SubscriptionDefinition.php @@ -299,10 +299,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('is_internal', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/CommunicationPreferences/Model/SubscriptionDefinitionsResponse.php b/codegen/CommunicationPreferences/Model/SubscriptionDefinitionsResponse.php index 22ea1b656..a2a5fe05f 100644 --- a/codegen/CommunicationPreferences/Model/SubscriptionDefinitionsResponse.php +++ b/codegen/CommunicationPreferences/Model/SubscriptionDefinitionsResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('subscription_definitions', $data ?? [], null); } diff --git a/codegen/Conversations/VisitorIdentification/Api/GenerateApi.php b/codegen/Conversations/VisitorIdentification/Api/GenerateApi.php index 7995ff77c..f8dcf4253 100644 --- a/codegen/Conversations/VisitorIdentification/Api/GenerateApi.php +++ b/codegen/Conversations/VisitorIdentification/Api/GenerateApi.php @@ -77,15 +77,15 @@ class GenerateApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Conversations/VisitorIdentification/Configuration.php b/codegen/Conversations/VisitorIdentification/Configuration.php index a2c411151..8110d11e5 100644 --- a/codegen/Conversations/VisitorIdentification/Configuration.php +++ b/codegen/Conversations/VisitorIdentification/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Conversations/VisitorIdentification/Model/Error.php b/codegen/Conversations/VisitorIdentification/Model/Error.php index 3d030a9a2..93b94ac70 100644 --- a/codegen/Conversations/VisitorIdentification/Model/Error.php +++ b/codegen/Conversations/VisitorIdentification/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Conversations/VisitorIdentification/Model/ErrorDetail.php b/codegen/Conversations/VisitorIdentification/Model/ErrorDetail.php index 794fa9b1d..470191c7a 100644 --- a/codegen/Conversations/VisitorIdentification/Model/ErrorDetail.php +++ b/codegen/Conversations/VisitorIdentification/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenGenerationRequest.php b/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenGenerationRequest.php index 5de21762f..37eb26e01 100644 --- a/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenGenerationRequest.php +++ b/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenGenerationRequest.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('first_name', $data ?? [], null); $this->setIfExists('last_name', $data ?? [], null); diff --git a/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenResponse.php b/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenResponse.php index 3bf36fc6b..c81687c23 100644 --- a/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenResponse.php +++ b/codegen/Conversations/VisitorIdentification/Model/IdentificationTokenResponse.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('token', $data ?? [], null); } diff --git a/codegen/Crm/Associations/Api/BatchApi.php b/codegen/Crm/Associations/Api/BatchApi.php index 238801f14..e2d762478 100644 --- a/codegen/Crm/Associations/Api/BatchApi.php +++ b/codegen/Crm/Associations/Api/BatchApi.php @@ -83,15 +83,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/Configuration.php b/codegen/Crm/Associations/Configuration.php index ea13e9b67..d93fb38d6 100644 --- a/codegen/Crm/Associations/Configuration.php +++ b/codegen/Crm/Associations/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Associations/Model/AssociatedId.php b/codegen/Crm/Associations/Model/AssociatedId.php index 415b26c17..53508ae9d 100644 --- a/codegen/Crm/Associations/Model/AssociatedId.php +++ b/codegen/Crm/Associations/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/BatchInputPublicAssociation.php b/codegen/Crm/Associations/Model/BatchInputPublicAssociation.php index 595879cae..e17a3b431 100644 --- a/codegen/Crm/Associations/Model/BatchInputPublicAssociation.php +++ b/codegen/Crm/Associations/Model/BatchInputPublicAssociation.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Associations/Model/BatchInputPublicObjectId.php b/codegen/Crm/Associations/Model/BatchInputPublicObjectId.php index 92f42a156..78e6320fe 100644 --- a/codegen/Crm/Associations/Model/BatchInputPublicObjectId.php +++ b/codegen/Crm/Associations/Model/BatchInputPublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Associations/Model/BatchResponsePublicAssociation.php b/codegen/Crm/Associations/Model/BatchResponsePublicAssociation.php index 889a71324..587159e18 100644 --- a/codegen/Crm/Associations/Model/BatchResponsePublicAssociation.php +++ b/codegen/Crm/Associations/Model/BatchResponsePublicAssociation.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMulti.php b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMulti.php index ee85334d9..7014ed51f 100644 --- a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMulti.php +++ b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMulti.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMultiWithErrors.php b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMultiWithErrors.php index 568b41699..cd2ee6295 100644 --- a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMultiWithErrors.php +++ b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationMultiWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationWithErrors.php b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationWithErrors.php index 951127886..7dd61dff2 100644 --- a/codegen/Crm/Associations/Model/BatchResponsePublicAssociationWithErrors.php +++ b/codegen/Crm/Associations/Model/BatchResponsePublicAssociationWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/Error.php b/codegen/Crm/Associations/Model/Error.php index 28baf76df..aceec0e0b 100644 --- a/codegen/Crm/Associations/Model/Error.php +++ b/codegen/Crm/Associations/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/ErrorDetail.php b/codegen/Crm/Associations/Model/ErrorDetail.php index c07caf865..f71ba54f8 100644 --- a/codegen/Crm/Associations/Model/ErrorDetail.php +++ b/codegen/Crm/Associations/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/NextPage.php b/codegen/Crm/Associations/Model/NextPage.php index 722b24a8f..6ed0d9ddf 100644 --- a/codegen/Crm/Associations/Model/NextPage.php +++ b/codegen/Crm/Associations/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/Paging.php b/codegen/Crm/Associations/Model/Paging.php index 5ae9f01dd..573eee0a4 100644 --- a/codegen/Crm/Associations/Model/Paging.php +++ b/codegen/Crm/Associations/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/PreviousPage.php b/codegen/Crm/Associations/Model/PreviousPage.php index 82378a938..84f72c454 100644 --- a/codegen/Crm/Associations/Model/PreviousPage.php +++ b/codegen/Crm/Associations/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/PublicAssociation.php b/codegen/Crm/Associations/Model/PublicAssociation.php index fa0786a2f..e27d44db4 100644 --- a/codegen/Crm/Associations/Model/PublicAssociation.php +++ b/codegen/Crm/Associations/Model/PublicAssociation.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('from', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/PublicAssociationMulti.php b/codegen/Crm/Associations/Model/PublicAssociationMulti.php index d49ba00da..5ee06f60e 100644 --- a/codegen/Crm/Associations/Model/PublicAssociationMulti.php +++ b/codegen/Crm/Associations/Model/PublicAssociationMulti.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('from', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Associations/Model/PublicObjectId.php b/codegen/Crm/Associations/Model/PublicObjectId.php index 6770fd1e5..18fc8bad2 100644 --- a/codegen/Crm/Associations/Model/PublicObjectId.php +++ b/codegen/Crm/Associations/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Associations/Model/StandardError.php b/codegen/Crm/Associations/Model/StandardError.php index 14f4bbf82..be7cd5f93 100644 --- a/codegen/Crm/Associations/Model/StandardError.php +++ b/codegen/Crm/Associations/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Associations/Schema/Api/TypesApi.php b/codegen/Crm/Associations/Schema/Api/TypesApi.php index 2a1339d6d..8a80712a6 100644 --- a/codegen/Crm/Associations/Schema/Api/TypesApi.php +++ b/codegen/Crm/Associations/Schema/Api/TypesApi.php @@ -77,15 +77,15 @@ class TypesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/Schema/Configuration.php b/codegen/Crm/Associations/Schema/Configuration.php index 6a7dfaf24..447f2dd8f 100644 --- a/codegen/Crm/Associations/Schema/Configuration.php +++ b/codegen/Crm/Associations/Schema/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Associations/Schema/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php b/codegen/Crm/Associations/Schema/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php index d8ee93ba1..0daa3f6cb 100644 --- a/codegen/Crm/Associations/Schema/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php +++ b/codegen/Crm/Associations/Schema/Model/CollectionResponsePublicAssociationDefinitionNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Associations/Schema/Model/Error.php b/codegen/Crm/Associations/Schema/Model/Error.php index ce4ff3cd3..352a146bf 100644 --- a/codegen/Crm/Associations/Schema/Model/Error.php +++ b/codegen/Crm/Associations/Schema/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Associations/Schema/Model/ErrorDetail.php b/codegen/Crm/Associations/Schema/Model/ErrorDetail.php index c4d0c634e..49ac76e6e 100644 --- a/codegen/Crm/Associations/Schema/Model/ErrorDetail.php +++ b/codegen/Crm/Associations/Schema/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Associations/Schema/Model/PublicAssociationDefinition.php b/codegen/Crm/Associations/Schema/Model/PublicAssociationDefinition.php index ed91cd18c..711624152 100644 --- a/codegen/Crm/Associations/Schema/Model/PublicAssociationDefinition.php +++ b/codegen/Crm/Associations/Schema/Model/PublicAssociationDefinition.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Api/BasicApi.php b/codegen/Crm/Associations/V4/Api/BasicApi.php index 2581a41be..a90b6633b 100644 --- a/codegen/Crm/Associations/V4/Api/BasicApi.php +++ b/codegen/Crm/Associations/V4/Api/BasicApi.php @@ -86,15 +86,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/V4/Api/BatchApi.php b/codegen/Crm/Associations/V4/Api/BatchApi.php index c65f35095..2791e0ba4 100644 --- a/codegen/Crm/Associations/V4/Api/BatchApi.php +++ b/codegen/Crm/Associations/V4/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/V4/Api/ReportApi.php b/codegen/Crm/Associations/V4/Api/ReportApi.php index 49fbd9e7d..6a3aa58d2 100644 --- a/codegen/Crm/Associations/V4/Api/ReportApi.php +++ b/codegen/Crm/Associations/V4/Api/ReportApi.php @@ -77,15 +77,15 @@ class ReportApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/V4/Configuration.php b/codegen/Crm/Associations/V4/Configuration.php index 4dc56f855..2ec4fb6d7 100644 --- a/codegen/Crm/Associations/V4/Configuration.php +++ b/codegen/Crm/Associations/V4/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Associations/V4/Model/AssociationSpec.php b/codegen/Crm/Associations/V4/Model/AssociationSpec.php index 83236fb89..d4741cbca 100644 --- a/codegen/Crm/Associations/V4/Model/AssociationSpec.php +++ b/codegen/Crm/Associations/V4/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/AssociationSpecWithLabel.php b/codegen/Crm/Associations/V4/Model/AssociationSpecWithLabel.php index 2bfcd7fd6..30896b5f2 100644 --- a/codegen/Crm/Associations/V4/Model/AssociationSpecWithLabel.php +++ b/codegen/Crm/Associations/V4/Model/AssociationSpecWithLabel.php @@ -268,10 +268,10 @@ public function getCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type_id', $data ?? [], null); $this->setIfExists('label', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiArchive.php b/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiArchive.php index f2450d6c3..f6420f136 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiArchive.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiArchive.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiPost.php b/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiPost.php index 18ee1ab09..d9bc29f8a 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputPublicAssociationMultiPost.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputPublicDefaultAssociationMultiPost.php b/codegen/Crm/Associations/V4/Model/BatchInputPublicDefaultAssociationMultiPost.php index 991e2379e..e108f7202 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputPublicDefaultAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputPublicDefaultAssociationMultiPost.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Associations/V4/Model/BatchInputPublicFetchAssociationsBatchRequest.php b/codegen/Crm/Associations/V4/Model/BatchInputPublicFetchAssociationsBatchRequest.php index c7dc803e2..c8f4db208 100644 --- a/codegen/Crm/Associations/V4/Model/BatchInputPublicFetchAssociationsBatchRequest.php +++ b/codegen/Crm/Associations/V4/Model/BatchInputPublicFetchAssociationsBatchRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPair.php b/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPair.php index 209e49709..bc38fa171 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPair.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPair.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php b/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php index fc584bbdd..71c339fc9 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponseLabelsBetweenObjectPairWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabel.php b/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabel.php index 6ffbd5c6b..8edb1d8d5 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabel.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabel.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php b/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php index b16a91b91..f9461ef3b 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponsePublicAssociationMultiWithLabelWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/BatchResponsePublicDefaultAssociation.php b/codegen/Crm/Associations/V4/Model/BatchResponsePublicDefaultAssociation.php index bd22221f5..1d71f0754 100644 --- a/codegen/Crm/Associations/V4/Model/BatchResponsePublicDefaultAssociation.php +++ b/codegen/Crm/Associations/V4/Model/BatchResponsePublicDefaultAssociation.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.php b/codegen/Crm/Associations/V4/Model/CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.php index db47bbefc..437cb84cf 100644 --- a/codegen/Crm/Associations/V4/Model/CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.php +++ b/codegen/Crm/Associations/V4/Model/CollectionResponseMultiAssociatedObjectWithLabelForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/DateTime.php b/codegen/Crm/Associations/V4/Model/DateTime.php index 55d7da1fd..3a1b0773b 100644 --- a/codegen/Crm/Associations/V4/Model/DateTime.php +++ b/codegen/Crm/Associations/V4/Model/DateTime.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('date_only', $data ?? [], null); $this->setIfExists('time_zone_shift', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/Error.php b/codegen/Crm/Associations/V4/Model/Error.php index d6168e7c6..b84a0e483 100644 --- a/codegen/Crm/Associations/V4/Model/Error.php +++ b/codegen/Crm/Associations/V4/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/ErrorDetail.php b/codegen/Crm/Associations/V4/Model/ErrorDetail.php index 788d966b3..b29660792 100644 --- a/codegen/Crm/Associations/V4/Model/ErrorDetail.php +++ b/codegen/Crm/Associations/V4/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/ForwardPaging.php b/codegen/Crm/Associations/V4/Model/ForwardPaging.php index 2d9155723..11aa156cf 100644 --- a/codegen/Crm/Associations/V4/Model/ForwardPaging.php +++ b/codegen/Crm/Associations/V4/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Associations/V4/Model/LabelsBetweenObjectPair.php b/codegen/Crm/Associations/V4/Model/LabelsBetweenObjectPair.php index c16d7e388..0442b8e14 100644 --- a/codegen/Crm/Associations/V4/Model/LabelsBetweenObjectPair.php +++ b/codegen/Crm/Associations/V4/Model/LabelsBetweenObjectPair.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('from_object_type_id', $data ?? [], null); $this->setIfExists('to_object_id', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/MultiAssociatedObjectWithLabel.php b/codegen/Crm/Associations/V4/Model/MultiAssociatedObjectWithLabel.php index 91ed0e199..174a33c71 100644 --- a/codegen/Crm/Associations/V4/Model/MultiAssociatedObjectWithLabel.php +++ b/codegen/Crm/Associations/V4/Model/MultiAssociatedObjectWithLabel.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_types', $data ?? [], null); $this->setIfExists('to_object_id', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/NextPage.php b/codegen/Crm/Associations/V4/Model/NextPage.php index 8600e3f27..f39225980 100644 --- a/codegen/Crm/Associations/V4/Model/NextPage.php +++ b/codegen/Crm/Associations/V4/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/Paging.php b/codegen/Crm/Associations/V4/Model/Paging.php index 3f115e1a7..19e76164a 100644 --- a/codegen/Crm/Associations/V4/Model/Paging.php +++ b/codegen/Crm/Associations/V4/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/PreviousPage.php b/codegen/Crm/Associations/V4/Model/PreviousPage.php index 07880fb5d..473f425fe 100644 --- a/codegen/Crm/Associations/V4/Model/PreviousPage.php +++ b/codegen/Crm/Associations/V4/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiArchive.php b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiArchive.php index 8bc476f12..7efbdecfd 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiArchive.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiArchive.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('from', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiPost.php b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiPost.php index f77859da5..2728466de 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiPost.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('from', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiWithLabel.php b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiWithLabel.php index f8d9cf4e3..2f1027df8 100644 --- a/codegen/Crm/Associations/V4/Model/PublicAssociationMultiWithLabel.php +++ b/codegen/Crm/Associations/V4/Model/PublicAssociationMultiWithLabel.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('from', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/PublicDefaultAssociation.php b/codegen/Crm/Associations/V4/Model/PublicDefaultAssociation.php index c592c1d39..b6c18374c 100644 --- a/codegen/Crm/Associations/V4/Model/PublicDefaultAssociation.php +++ b/codegen/Crm/Associations/V4/Model/PublicDefaultAssociation.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_spec', $data ?? [], null); $this->setIfExists('from', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/PublicDefaultAssociationMultiPost.php b/codegen/Crm/Associations/V4/Model/PublicDefaultAssociationMultiPost.php index 0843ff805..f0a06a992 100644 --- a/codegen/Crm/Associations/V4/Model/PublicDefaultAssociationMultiPost.php +++ b/codegen/Crm/Associations/V4/Model/PublicDefaultAssociationMultiPost.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('from', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/PublicFetchAssociationsBatchRequest.php b/codegen/Crm/Associations/V4/Model/PublicFetchAssociationsBatchRequest.php index 33bfcb30a..3e3be5750 100644 --- a/codegen/Crm/Associations/V4/Model/PublicFetchAssociationsBatchRequest.php +++ b/codegen/Crm/Associations/V4/Model/PublicFetchAssociationsBatchRequest.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/PublicObjectId.php b/codegen/Crm/Associations/V4/Model/PublicObjectId.php index 1d25e743f..445fa401c 100644 --- a/codegen/Crm/Associations/V4/Model/PublicObjectId.php +++ b/codegen/Crm/Associations/V4/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Associations/V4/Model/ReportCreationResponse.php b/codegen/Crm/Associations/V4/Model/ReportCreationResponse.php index bbb0c07fd..ca303d0b5 100644 --- a/codegen/Crm/Associations/V4/Model/ReportCreationResponse.php +++ b/codegen/Crm/Associations/V4/Model/ReportCreationResponse.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('user_email', $data ?? [], null); $this->setIfExists('user_id', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Model/StandardError.php b/codegen/Crm/Associations/V4/Model/StandardError.php index 37db02108..d167a524d 100644 --- a/codegen/Crm/Associations/V4/Model/StandardError.php +++ b/codegen/Crm/Associations/V4/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Schema/Api/DefinitionsApi.php b/codegen/Crm/Associations/V4/Schema/Api/DefinitionsApi.php index bc5923425..eef78dafc 100644 --- a/codegen/Crm/Associations/V4/Schema/Api/DefinitionsApi.php +++ b/codegen/Crm/Associations/V4/Schema/Api/DefinitionsApi.php @@ -86,15 +86,15 @@ class DefinitionsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Associations/V4/Schema/Configuration.php b/codegen/Crm/Associations/V4/Schema/Configuration.php index 328b06c2d..61b46f246 100644 --- a/codegen/Crm/Associations/V4/Schema/Configuration.php +++ b/codegen/Crm/Associations/V4/Schema/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Associations/V4/Schema/Model/AssociationSpecWithLabel.php b/codegen/Crm/Associations/V4/Schema/Model/AssociationSpecWithLabel.php index 51f4bc565..ff9677a4f 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/AssociationSpecWithLabel.php +++ b/codegen/Crm/Associations/V4/Schema/Model/AssociationSpecWithLabel.php @@ -268,10 +268,10 @@ public function getCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type_id', $data ?? [], null); $this->setIfExists('label', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Schema/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php b/codegen/Crm/Associations/V4/Schema/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php index f123b21ee..0437b8504 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php +++ b/codegen/Crm/Associations/V4/Schema/Model/CollectionResponseAssociationSpecWithLabelNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Associations/V4/Schema/Model/Error.php b/codegen/Crm/Associations/V4/Schema/Model/Error.php index 80cf85303..cb99098ee 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/Error.php +++ b/codegen/Crm/Associations/V4/Schema/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Schema/Model/ErrorDetail.php b/codegen/Crm/Associations/V4/Schema/Model/ErrorDetail.php index 69b9a622b..d76893ade 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/ErrorDetail.php +++ b/codegen/Crm/Associations/V4/Schema/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionCreateRequest.php b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionCreateRequest.php index d9271e27d..4bdf123a4 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionCreateRequest.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionCreateRequest.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inverse_label', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionUpdateRequest.php b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionUpdateRequest.php index 46782069a..50e5e6069 100644 --- a/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionUpdateRequest.php +++ b/codegen/Crm/Associations/V4/Schema/Model/PublicAssociationDefinitionUpdateRequest.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inverse_label', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Companies/Api/BasicApi.php b/codegen/Crm/Companies/Api/BasicApi.php index 84a9ac97f..ed408380d 100644 --- a/codegen/Crm/Companies/Api/BasicApi.php +++ b/codegen/Crm/Companies/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Companies/Api/BatchApi.php b/codegen/Crm/Companies/Api/BatchApi.php index aade2b858..a888c3474 100644 --- a/codegen/Crm/Companies/Api/BatchApi.php +++ b/codegen/Crm/Companies/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Companies/Api/MergeApi.php b/codegen/Crm/Companies/Api/MergeApi.php index 458d19f1d..c508e96c6 100644 --- a/codegen/Crm/Companies/Api/MergeApi.php +++ b/codegen/Crm/Companies/Api/MergeApi.php @@ -77,15 +77,15 @@ class MergeApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Companies/Api/SearchApi.php b/codegen/Crm/Companies/Api/SearchApi.php index 9346ca736..ef7a496a9 100644 --- a/codegen/Crm/Companies/Api/SearchApi.php +++ b/codegen/Crm/Companies/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Companies/Configuration.php b/codegen/Crm/Companies/Configuration.php index 14295abcc..8e8855255 100644 --- a/codegen/Crm/Companies/Configuration.php +++ b/codegen/Crm/Companies/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Companies/Model/AssociatedId.php b/codegen/Crm/Companies/Model/AssociatedId.php index 6c9377769..adffc1f26 100644 --- a/codegen/Crm/Companies/Model/AssociatedId.php +++ b/codegen/Crm/Companies/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/AssociationSpec.php b/codegen/Crm/Companies/Model/AssociationSpec.php index b4195e939..b9d3ec43d 100644 --- a/codegen/Crm/Companies/Model/AssociationSpec.php +++ b/codegen/Crm/Companies/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInput.php index eed9bf187..bcd47525c 100644 --- a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 399a836be..74d79d05b 100644 --- a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectId.php index 3e8e071b1..3e2dc3d35 100644 --- a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectInputForCreate.php index c28e16d38..0cc5782d3 100644 --- a/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Companies/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Companies/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Companies/Model/BatchReadInputSimplePublicObjectId.php index 49e55aef0..0c2a7b526 100644 --- a/codegen/Crm/Companies/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Companies/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Companies/Model/BatchResponseSimplePublicObject.php index 7405c0ee9..0668bbaaa 100644 --- a/codegen/Crm/Companies/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Companies/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Companies/Model/BatchResponseSimplePublicObjectWithErrors.php index de21f709a..edfc67233 100644 --- a/codegen/Crm/Companies/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Companies/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Companies/Model/BatchResponseSimplePublicUpsertObject.php index 1a10382d7..1401e89ad 100644 --- a/codegen/Crm/Companies/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Companies/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Companies/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 83c111349..1843f56f9 100644 --- a/codegen/Crm/Companies/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Companies/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Companies/Model/CollectionResponseAssociatedId.php index c86d3d0d9..cf427e389 100644 --- a/codegen/Crm/Companies/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Companies/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Companies/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 45ff00df2..8c2c473db 100644 --- a/codegen/Crm/Companies/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Companies/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Companies/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index e5d6f8852..0891708fb 100644 --- a/codegen/Crm/Companies/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Companies/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/Error.php b/codegen/Crm/Companies/Model/Error.php index 34263a641..557a7df5e 100644 --- a/codegen/Crm/Companies/Model/Error.php +++ b/codegen/Crm/Companies/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/ErrorDetail.php b/codegen/Crm/Companies/Model/ErrorDetail.php index a84459957..cf6153940 100644 --- a/codegen/Crm/Companies/Model/ErrorDetail.php +++ b/codegen/Crm/Companies/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/Filter.php b/codegen/Crm/Companies/Model/Filter.php index a81aa524b..af9758f7b 100644 --- a/codegen/Crm/Companies/Model/Filter.php +++ b/codegen/Crm/Companies/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/FilterGroup.php b/codegen/Crm/Companies/Model/FilterGroup.php index 18b165981..4aa093468 100644 --- a/codegen/Crm/Companies/Model/FilterGroup.php +++ b/codegen/Crm/Companies/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Companies/Model/ForwardPaging.php b/codegen/Crm/Companies/Model/ForwardPaging.php index 556a12931..f2a77380c 100644 --- a/codegen/Crm/Companies/Model/ForwardPaging.php +++ b/codegen/Crm/Companies/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Companies/Model/NextPage.php b/codegen/Crm/Companies/Model/NextPage.php index e0dcac946..5f49950d8 100644 --- a/codegen/Crm/Companies/Model/NextPage.php +++ b/codegen/Crm/Companies/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/Paging.php b/codegen/Crm/Companies/Model/Paging.php index 688d7398f..d51b8c7e5 100644 --- a/codegen/Crm/Companies/Model/Paging.php +++ b/codegen/Crm/Companies/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/PreviousPage.php b/codegen/Crm/Companies/Model/PreviousPage.php index c1856f7f9..0c9f00319 100644 --- a/codegen/Crm/Companies/Model/PreviousPage.php +++ b/codegen/Crm/Companies/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/PublicAssociationsForObject.php b/codegen/Crm/Companies/Model/PublicAssociationsForObject.php index 3e89e8c13..c691351b4 100644 --- a/codegen/Crm/Companies/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Companies/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/PublicMergeInput.php b/codegen/Crm/Companies/Model/PublicMergeInput.php index c5ff628ab..0202a9795 100644 --- a/codegen/Crm/Companies/Model/PublicMergeInput.php +++ b/codegen/Crm/Companies/Model/PublicMergeInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_id_to_merge', $data ?? [], null); $this->setIfExists('primary_object_id', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/PublicObjectId.php b/codegen/Crm/Companies/Model/PublicObjectId.php index 5f4b7d3e2..cce5a7963 100644 --- a/codegen/Crm/Companies/Model/PublicObjectId.php +++ b/codegen/Crm/Companies/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Companies/Model/PublicObjectSearchRequest.php b/codegen/Crm/Companies/Model/PublicObjectSearchRequest.php index 2195bec71..58b2fbd4a 100644 --- a/codegen/Crm/Companies/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Companies/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/SimplePublicObject.php b/codegen/Crm/Companies/Model/SimplePublicObject.php index d68c65f74..28dc80e28 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObject.php +++ b/codegen/Crm/Companies/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Companies/Model/SimplePublicObjectBatchInput.php index 8aed582b3..29b52a320 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Companies/Model/SimplePublicObjectBatchInputUpsert.php index 7fcc17cb1..c12b135c1 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectId.php b/codegen/Crm/Companies/Model/SimplePublicObjectId.php index 421b9acc3..a63114cee 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectInput.php b/codegen/Crm/Companies/Model/SimplePublicObjectInput.php index 54e096d25..c2abcab39 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Companies/Model/SimplePublicObjectInputForCreate.php index f5dcae099..d05c422f5 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Companies/Model/SimplePublicObjectWithAssociations.php index a778815cc..06ac5e106 100644 --- a/codegen/Crm/Companies/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Companies/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/SimplePublicUpsertObject.php b/codegen/Crm/Companies/Model/SimplePublicUpsertObject.php index e0bd3e59a..b85c9486c 100644 --- a/codegen/Crm/Companies/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Companies/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/StandardError.php b/codegen/Crm/Companies/Model/StandardError.php index 92ab4563b..c1ecfe76d 100644 --- a/codegen/Crm/Companies/Model/StandardError.php +++ b/codegen/Crm/Companies/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Companies/Model/ValueWithTimestamp.php b/codegen/Crm/Companies/Model/ValueWithTimestamp.php index a2977109f..bb3c47015 100644 --- a/codegen/Crm/Companies/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Companies/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Api/BasicApi.php b/codegen/Crm/Contacts/Api/BasicApi.php index 50bbc06c6..a17cd0cb0 100644 --- a/codegen/Crm/Contacts/Api/BasicApi.php +++ b/codegen/Crm/Contacts/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Api/BatchApi.php b/codegen/Crm/Contacts/Api/BatchApi.php index 545e4622f..8672674c3 100644 --- a/codegen/Crm/Contacts/Api/BatchApi.php +++ b/codegen/Crm/Contacts/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Api/GDPRApi.php b/codegen/Crm/Contacts/Api/GDPRApi.php index bfba65a12..fb80ba32a 100644 --- a/codegen/Crm/Contacts/Api/GDPRApi.php +++ b/codegen/Crm/Contacts/Api/GDPRApi.php @@ -77,15 +77,15 @@ class GDPRApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Api/MergeApi.php b/codegen/Crm/Contacts/Api/MergeApi.php index b0634af99..d8a56b08f 100644 --- a/codegen/Crm/Contacts/Api/MergeApi.php +++ b/codegen/Crm/Contacts/Api/MergeApi.php @@ -77,15 +77,15 @@ class MergeApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Api/SearchApi.php b/codegen/Crm/Contacts/Api/SearchApi.php index 82569ee04..6b6acd222 100644 --- a/codegen/Crm/Contacts/Api/SearchApi.php +++ b/codegen/Crm/Contacts/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Contacts/Configuration.php b/codegen/Crm/Contacts/Configuration.php index a5be785fd..a87cc8807 100644 --- a/codegen/Crm/Contacts/Configuration.php +++ b/codegen/Crm/Contacts/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Contacts/Model/AssociatedId.php b/codegen/Crm/Contacts/Model/AssociatedId.php index e88f0a52c..b81ba3090 100644 --- a/codegen/Crm/Contacts/Model/AssociatedId.php +++ b/codegen/Crm/Contacts/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/AssociationSpec.php b/codegen/Crm/Contacts/Model/AssociationSpec.php index d2f609ff8..1edb41091 100644 --- a/codegen/Crm/Contacts/Model/AssociationSpec.php +++ b/codegen/Crm/Contacts/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInput.php index 0b547166d..beeeb6644 100644 --- a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 1e37e2acd..8c52a38e4 100644 --- a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectId.php index e25e628bf..dce07ec1f 100644 --- a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectInputForCreate.php index a79b30f12..c3e0fd741 100644 --- a/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Contacts/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Contacts/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Contacts/Model/BatchReadInputSimplePublicObjectId.php index dc9bead48..459f5a223 100644 --- a/codegen/Crm/Contacts/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Contacts/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObject.php index a8801a0f7..dbbb07cef 100644 --- a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObjectWithErrors.php index 5343c49d9..a7fa132af 100644 --- a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicUpsertObject.php index 712b889e7..aae45fbd1 100644 --- a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 5fc4f8864..80713d728 100644 --- a/codegen/Crm/Contacts/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Contacts/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Contacts/Model/CollectionResponseAssociatedId.php index 3ea5f1e35..a43e3405f 100644 --- a/codegen/Crm/Contacts/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Contacts/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Contacts/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index e72e6ec0b..dde89a94b 100644 --- a/codegen/Crm/Contacts/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Contacts/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Contacts/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index db83f4141..bd76d5d33 100644 --- a/codegen/Crm/Contacts/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Contacts/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/Error.php b/codegen/Crm/Contacts/Model/Error.php index 14e173d98..eebdd8c09 100644 --- a/codegen/Crm/Contacts/Model/Error.php +++ b/codegen/Crm/Contacts/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/ErrorDetail.php b/codegen/Crm/Contacts/Model/ErrorDetail.php index 5a18f46ad..c32496cab 100644 --- a/codegen/Crm/Contacts/Model/ErrorDetail.php +++ b/codegen/Crm/Contacts/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/Filter.php b/codegen/Crm/Contacts/Model/Filter.php index 97f09eef9..1e2bd34f9 100644 --- a/codegen/Crm/Contacts/Model/Filter.php +++ b/codegen/Crm/Contacts/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/FilterGroup.php b/codegen/Crm/Contacts/Model/FilterGroup.php index 6962ae63c..6b16ad56e 100644 --- a/codegen/Crm/Contacts/Model/FilterGroup.php +++ b/codegen/Crm/Contacts/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Contacts/Model/ForwardPaging.php b/codegen/Crm/Contacts/Model/ForwardPaging.php index 97a8aed0c..74d4ac5d9 100644 --- a/codegen/Crm/Contacts/Model/ForwardPaging.php +++ b/codegen/Crm/Contacts/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Contacts/Model/NextPage.php b/codegen/Crm/Contacts/Model/NextPage.php index f784c83ee..57fbdd256 100644 --- a/codegen/Crm/Contacts/Model/NextPage.php +++ b/codegen/Crm/Contacts/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/Paging.php b/codegen/Crm/Contacts/Model/Paging.php index c3b7bca8e..42c8fe318 100644 --- a/codegen/Crm/Contacts/Model/Paging.php +++ b/codegen/Crm/Contacts/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/PreviousPage.php b/codegen/Crm/Contacts/Model/PreviousPage.php index 104ee7f3b..5a72610b1 100644 --- a/codegen/Crm/Contacts/Model/PreviousPage.php +++ b/codegen/Crm/Contacts/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/PublicAssociationsForObject.php b/codegen/Crm/Contacts/Model/PublicAssociationsForObject.php index a3aecce12..9f2899218 100644 --- a/codegen/Crm/Contacts/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Contacts/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/PublicGdprDeleteInput.php b/codegen/Crm/Contacts/Model/PublicGdprDeleteInput.php index f75f51121..3ec08eca8 100644 --- a/codegen/Crm/Contacts/Model/PublicGdprDeleteInput.php +++ b/codegen/Crm/Contacts/Model/PublicGdprDeleteInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_id', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/PublicMergeInput.php b/codegen/Crm/Contacts/Model/PublicMergeInput.php index 168bb6472..cf664b6e4 100644 --- a/codegen/Crm/Contacts/Model/PublicMergeInput.php +++ b/codegen/Crm/Contacts/Model/PublicMergeInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_id_to_merge', $data ?? [], null); $this->setIfExists('primary_object_id', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/PublicObjectId.php b/codegen/Crm/Contacts/Model/PublicObjectId.php index 93e83f08b..4733228c9 100644 --- a/codegen/Crm/Contacts/Model/PublicObjectId.php +++ b/codegen/Crm/Contacts/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php b/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php index 470555fa1..91a7f6fe5 100644 --- a/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Contacts/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/SimplePublicObject.php b/codegen/Crm/Contacts/Model/SimplePublicObject.php index c0d2c2953..591a89e14 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObject.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php index 2f900c1f1..e1fa62cb2 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInputUpsert.php index 4e73e5e26..97c80c194 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectId.php b/codegen/Crm/Contacts/Model/SimplePublicObjectId.php index 617e14330..f62d3a479 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectInput.php b/codegen/Crm/Contacts/Model/SimplePublicObjectInput.php index 5cfb7dbf9..e5f83e7a9 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Contacts/Model/SimplePublicObjectInputForCreate.php index 2a0b7b78e..1f0c5e6e0 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Contacts/Model/SimplePublicObjectWithAssociations.php index 2d00cb71d..d6b890bfa 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Contacts/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/SimplePublicUpsertObject.php b/codegen/Crm/Contacts/Model/SimplePublicUpsertObject.php index 6373a477b..65c50e1c1 100644 --- a/codegen/Crm/Contacts/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Contacts/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/StandardError.php b/codegen/Crm/Contacts/Model/StandardError.php index cb1182565..3540c59db 100644 --- a/codegen/Crm/Contacts/Model/StandardError.php +++ b/codegen/Crm/Contacts/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Contacts/Model/ValueWithTimestamp.php b/codegen/Crm/Contacts/Model/ValueWithTimestamp.php index 41d4f2e11..1ec9e5a19 100644 --- a/codegen/Crm/Contacts/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Contacts/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Deals/Api/BasicApi.php b/codegen/Crm/Deals/Api/BasicApi.php index 75ffd8330..886364223 100644 --- a/codegen/Crm/Deals/Api/BasicApi.php +++ b/codegen/Crm/Deals/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Deals/Api/BatchApi.php b/codegen/Crm/Deals/Api/BatchApi.php index 1e58ad29f..f917b39df 100644 --- a/codegen/Crm/Deals/Api/BatchApi.php +++ b/codegen/Crm/Deals/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Deals/Api/MergeApi.php b/codegen/Crm/Deals/Api/MergeApi.php index cc97229cd..1d028f3c9 100644 --- a/codegen/Crm/Deals/Api/MergeApi.php +++ b/codegen/Crm/Deals/Api/MergeApi.php @@ -77,15 +77,15 @@ class MergeApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Deals/Api/SearchApi.php b/codegen/Crm/Deals/Api/SearchApi.php index a87ca1d85..46f875759 100644 --- a/codegen/Crm/Deals/Api/SearchApi.php +++ b/codegen/Crm/Deals/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Deals/Configuration.php b/codegen/Crm/Deals/Configuration.php index 1b3564157..0dc7a3f39 100644 --- a/codegen/Crm/Deals/Configuration.php +++ b/codegen/Crm/Deals/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Deals/Model/AssociatedId.php b/codegen/Crm/Deals/Model/AssociatedId.php index 181dc60e6..e7a0fcc3b 100644 --- a/codegen/Crm/Deals/Model/AssociatedId.php +++ b/codegen/Crm/Deals/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/AssociationSpec.php b/codegen/Crm/Deals/Model/AssociationSpec.php index 59f1d521c..b5e5d2fd5 100644 --- a/codegen/Crm/Deals/Model/AssociationSpec.php +++ b/codegen/Crm/Deals/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInput.php index c691870b3..d3b635211 100644 --- a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 8914f0a6f..43f8e8f85 100644 --- a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectId.php index 09b3696f2..e48096fc3 100644 --- a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInputForCreate.php index fc9888cae..4bb1fbab2 100644 --- a/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Deals/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Deals/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Deals/Model/BatchReadInputSimplePublicObjectId.php index c3a95cb2d..c15e470cb 100644 --- a/codegen/Crm/Deals/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Deals/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Deals/Model/BatchResponseSimplePublicObject.php index d6f0d8ea8..6d6484c6a 100644 --- a/codegen/Crm/Deals/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Deals/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Deals/Model/BatchResponseSimplePublicObjectWithErrors.php index abda838cf..13bd28e47 100644 --- a/codegen/Crm/Deals/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Deals/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Deals/Model/BatchResponseSimplePublicUpsertObject.php index b6b4c84b0..df558e3b7 100644 --- a/codegen/Crm/Deals/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Deals/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Deals/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 0edd2e58b..df78df6e6 100644 --- a/codegen/Crm/Deals/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Deals/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Deals/Model/CollectionResponseAssociatedId.php index 74342afda..e72c92865 100644 --- a/codegen/Crm/Deals/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Deals/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Deals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 83489077b..c649eb77f 100644 --- a/codegen/Crm/Deals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Deals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Deals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index b75849f42..65ca35c08 100644 --- a/codegen/Crm/Deals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Deals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/Error.php b/codegen/Crm/Deals/Model/Error.php index d4098ace5..4231ab6f5 100644 --- a/codegen/Crm/Deals/Model/Error.php +++ b/codegen/Crm/Deals/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/ErrorDetail.php b/codegen/Crm/Deals/Model/ErrorDetail.php index 66d28d4a4..4bec7723e 100644 --- a/codegen/Crm/Deals/Model/ErrorDetail.php +++ b/codegen/Crm/Deals/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/Filter.php b/codegen/Crm/Deals/Model/Filter.php index 5d4565347..260a366f5 100644 --- a/codegen/Crm/Deals/Model/Filter.php +++ b/codegen/Crm/Deals/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/FilterGroup.php b/codegen/Crm/Deals/Model/FilterGroup.php index 2ef054dc0..784247fdb 100644 --- a/codegen/Crm/Deals/Model/FilterGroup.php +++ b/codegen/Crm/Deals/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Deals/Model/ForwardPaging.php b/codegen/Crm/Deals/Model/ForwardPaging.php index c5f2f6bde..6f305c901 100644 --- a/codegen/Crm/Deals/Model/ForwardPaging.php +++ b/codegen/Crm/Deals/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Deals/Model/NextPage.php b/codegen/Crm/Deals/Model/NextPage.php index 50744c1b5..1cfe6c2d1 100644 --- a/codegen/Crm/Deals/Model/NextPage.php +++ b/codegen/Crm/Deals/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/Paging.php b/codegen/Crm/Deals/Model/Paging.php index 029051a00..b775cef52 100644 --- a/codegen/Crm/Deals/Model/Paging.php +++ b/codegen/Crm/Deals/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/PreviousPage.php b/codegen/Crm/Deals/Model/PreviousPage.php index da2794f8d..3cd23fd37 100644 --- a/codegen/Crm/Deals/Model/PreviousPage.php +++ b/codegen/Crm/Deals/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/PublicAssociationsForObject.php b/codegen/Crm/Deals/Model/PublicAssociationsForObject.php index 51949fc21..450524a8f 100644 --- a/codegen/Crm/Deals/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Deals/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/PublicMergeInput.php b/codegen/Crm/Deals/Model/PublicMergeInput.php index cff3e3294..9c741c35f 100644 --- a/codegen/Crm/Deals/Model/PublicMergeInput.php +++ b/codegen/Crm/Deals/Model/PublicMergeInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_id_to_merge', $data ?? [], null); $this->setIfExists('primary_object_id', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/PublicObjectId.php b/codegen/Crm/Deals/Model/PublicObjectId.php index 76e487cc6..6cf558d08 100644 --- a/codegen/Crm/Deals/Model/PublicObjectId.php +++ b/codegen/Crm/Deals/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Deals/Model/PublicObjectSearchRequest.php b/codegen/Crm/Deals/Model/PublicObjectSearchRequest.php index 0251d13dd..d841b07ab 100644 --- a/codegen/Crm/Deals/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Deals/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/SimplePublicObject.php b/codegen/Crm/Deals/Model/SimplePublicObject.php index a1b9b705f..e30e16439 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObject.php +++ b/codegen/Crm/Deals/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Deals/Model/SimplePublicObjectBatchInput.php index c20d09603..25790c8a3 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Deals/Model/SimplePublicObjectBatchInputUpsert.php index 41103472f..4f9f4b64c 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectId.php b/codegen/Crm/Deals/Model/SimplePublicObjectId.php index e9369952a..fb2170ebc 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectInput.php b/codegen/Crm/Deals/Model/SimplePublicObjectInput.php index 68034dc1a..ce3f29a15 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Deals/Model/SimplePublicObjectInputForCreate.php index 803bfebf6..d9a3b7fa6 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Deals/Model/SimplePublicObjectWithAssociations.php index 496d7aa54..e8d6153d3 100644 --- a/codegen/Crm/Deals/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Deals/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/SimplePublicUpsertObject.php b/codegen/Crm/Deals/Model/SimplePublicUpsertObject.php index 927175ea4..fddf00eeb 100644 --- a/codegen/Crm/Deals/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Deals/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/StandardError.php b/codegen/Crm/Deals/Model/StandardError.php index 5ec3112b3..c5e1ed8cf 100644 --- a/codegen/Crm/Deals/Model/StandardError.php +++ b/codegen/Crm/Deals/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Deals/Model/ValueWithTimestamp.php b/codegen/Crm/Deals/Model/ValueWithTimestamp.php index ca1bfc21c..35a60f584 100644 --- a/codegen/Crm/Deals/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Deals/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Calling/Api/RecordingSettingsApi.php b/codegen/Crm/Extensions/Calling/Api/RecordingSettingsApi.php index 017ba5731..10cd1c235 100644 --- a/codegen/Crm/Extensions/Calling/Api/RecordingSettingsApi.php +++ b/codegen/Crm/Extensions/Calling/Api/RecordingSettingsApi.php @@ -86,15 +86,15 @@ class RecordingSettingsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Calling/Api/SettingsApi.php b/codegen/Crm/Extensions/Calling/Api/SettingsApi.php index 5daae8ad7..78a59d0c7 100644 --- a/codegen/Crm/Extensions/Calling/Api/SettingsApi.php +++ b/codegen/Crm/Extensions/Calling/Api/SettingsApi.php @@ -86,15 +86,15 @@ class SettingsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Calling/Configuration.php b/codegen/Crm/Extensions/Calling/Configuration.php index e172b3e5b..6c8207d6a 100644 --- a/codegen/Crm/Extensions/Calling/Configuration.php +++ b/codegen/Crm/Extensions/Calling/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Extensions/Calling/Model/Error.php b/codegen/Crm/Extensions/Calling/Model/Error.php index a121d574b..5b320a15c 100644 --- a/codegen/Crm/Extensions/Calling/Model/Error.php +++ b/codegen/Crm/Extensions/Calling/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Calling/Model/ErrorDetail.php b/codegen/Crm/Extensions/Calling/Model/ErrorDetail.php index e89922f4b..1e6bc8f6a 100644 --- a/codegen/Crm/Extensions/Calling/Model/ErrorDetail.php +++ b/codegen/Crm/Extensions/Calling/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Calling/Model/MarkRecordingAsReadyRequest.php b/codegen/Crm/Extensions/Calling/Model/MarkRecordingAsReadyRequest.php index 75da7755c..2a461c2b1 100644 --- a/codegen/Crm/Extensions/Calling/Model/MarkRecordingAsReadyRequest.php +++ b/codegen/Crm/Extensions/Calling/Model/MarkRecordingAsReadyRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('engagement_id', $data ?? [], null); } diff --git a/codegen/Crm/Extensions/Calling/Model/RecordingSettingsPatchRequest.php b/codegen/Crm/Extensions/Calling/Model/RecordingSettingsPatchRequest.php index 031e06003..510f50d58 100644 --- a/codegen/Crm/Extensions/Calling/Model/RecordingSettingsPatchRequest.php +++ b/codegen/Crm/Extensions/Calling/Model/RecordingSettingsPatchRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('url_to_retrieve_authed_recording', $data ?? [], null); } diff --git a/codegen/Crm/Extensions/Calling/Model/RecordingSettingsRequest.php b/codegen/Crm/Extensions/Calling/Model/RecordingSettingsRequest.php index f304dee4f..66c1342fe 100644 --- a/codegen/Crm/Extensions/Calling/Model/RecordingSettingsRequest.php +++ b/codegen/Crm/Extensions/Calling/Model/RecordingSettingsRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('url_to_retrieve_authed_recording', $data ?? [], null); } diff --git a/codegen/Crm/Extensions/Calling/Model/RecordingSettingsResponse.php b/codegen/Crm/Extensions/Calling/Model/RecordingSettingsResponse.php index e7718a4de..24a019b1a 100644 --- a/codegen/Crm/Extensions/Calling/Model/RecordingSettingsResponse.php +++ b/codegen/Crm/Extensions/Calling/Model/RecordingSettingsResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('url_to_retrieve_authed_recording', $data ?? [], null); } diff --git a/codegen/Crm/Extensions/Calling/Model/SettingsPatchRequest.php b/codegen/Crm/Extensions/Calling/Model/SettingsPatchRequest.php index bdc2eaed7..cef441733 100644 --- a/codegen/Crm/Extensions/Calling/Model/SettingsPatchRequest.php +++ b/codegen/Crm/Extensions/Calling/Model/SettingsPatchRequest.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('supports_custom_objects', $data ?? [], null); $this->setIfExists('is_ready', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Calling/Model/SettingsRequest.php b/codegen/Crm/Extensions/Calling/Model/SettingsRequest.php index 5290a8166..1d2551385 100644 --- a/codegen/Crm/Extensions/Calling/Model/SettingsRequest.php +++ b/codegen/Crm/Extensions/Calling/Model/SettingsRequest.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('supports_custom_objects', $data ?? [], null); $this->setIfExists('is_ready', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Calling/Model/SettingsResponse.php b/codegen/Crm/Extensions/Calling/Model/SettingsResponse.php index 40092a042..982eb97be 100644 --- a/codegen/Crm/Extensions/Calling/Model/SettingsResponse.php +++ b/codegen/Crm/Extensions/Calling/Model/SettingsResponse.php @@ -287,10 +287,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('supports_custom_objects', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Api/CardsApi.php b/codegen/Crm/Extensions/Cards/Api/CardsApi.php index a437850b4..d6449ce49 100644 --- a/codegen/Crm/Extensions/Cards/Api/CardsApi.php +++ b/codegen/Crm/Extensions/Cards/Api/CardsApi.php @@ -89,15 +89,15 @@ class CardsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Cards/Api/SampleResponseApi.php b/codegen/Crm/Extensions/Cards/Api/SampleResponseApi.php index 77cd2651f..d4a9f49dd 100644 --- a/codegen/Crm/Extensions/Cards/Api/SampleResponseApi.php +++ b/codegen/Crm/Extensions/Cards/Api/SampleResponseApi.php @@ -77,15 +77,15 @@ class SampleResponseApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Cards/Configuration.php b/codegen/Crm/Extensions/Cards/Configuration.php index 1a122a690..1d48b4ff5 100644 --- a/codegen/Crm/Extensions/Cards/Configuration.php +++ b/codegen/Crm/Extensions/Cards/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Extensions/Cards/Model/ActionConfirmationBody.php b/codegen/Crm/Extensions/Cards/Model/ActionConfirmationBody.php index 402814d86..135620819 100644 --- a/codegen/Crm/Extensions/Cards/Model/ActionConfirmationBody.php +++ b/codegen/Crm/Extensions/Cards/Model/ActionConfirmationBody.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('confirm_button_label', $data ?? [], null); $this->setIfExists('cancel_button_label', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/ActionHookActionBody.php b/codegen/Crm/Extensions/Cards/Model/ActionHookActionBody.php index 60d18f59c..286019a97 100644 --- a/codegen/Crm/Extensions/Cards/Model/ActionHookActionBody.php +++ b/codegen/Crm/Extensions/Cards/Model/ActionHookActionBody.php @@ -311,10 +311,10 @@ public function getHttpMethodAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('property_names_included', $data ?? [], null); $this->setIfExists('confirmation', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/CardActions.php b/codegen/Crm/Extensions/Cards/Model/CardActions.php index d6254c2b6..784af2b46 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardActions.php +++ b/codegen/Crm/Extensions/Cards/Model/CardActions.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('base_urls', $data ?? [], null); } diff --git a/codegen/Crm/Extensions/Cards/Model/CardAuditResponse.php b/codegen/Crm/Extensions/Cards/Model/CardAuditResponse.php index 911b2fab7..e0d7d145a 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardAuditResponse.php +++ b/codegen/Crm/Extensions/Cards/Model/CardAuditResponse.php @@ -303,10 +303,10 @@ public function getAuthSourceAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('action_type', $data ?? [], null); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/CardCreateRequest.php b/codegen/Crm/Extensions/Cards/Model/CardCreateRequest.php index 04ed7a831..b0ed5ae6c 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardCreateRequest.php +++ b/codegen/Crm/Extensions/Cards/Model/CardCreateRequest.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('fetch', $data ?? [], null); $this->setIfExists('display', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/CardDisplayBody.php b/codegen/Crm/Extensions/Cards/Model/CardDisplayBody.php index 85535cb80..9fbcd8aa5 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardDisplayBody.php +++ b/codegen/Crm/Extensions/Cards/Model/CardDisplayBody.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties', $data ?? [], null); } diff --git a/codegen/Crm/Extensions/Cards/Model/CardDisplayProperty.php b/codegen/Crm/Extensions/Cards/Model/CardDisplayProperty.php index b8de71f06..6e61b7ba1 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardDisplayProperty.php +++ b/codegen/Crm/Extensions/Cards/Model/CardDisplayProperty.php @@ -287,10 +287,10 @@ public function getDataTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data_type', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/CardFetchBody.php b/codegen/Crm/Extensions/Cards/Model/CardFetchBody.php index eec862a13..38ee13473 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardFetchBody.php +++ b/codegen/Crm/Extensions/Cards/Model/CardFetchBody.php @@ -273,10 +273,10 @@ public function getCardTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('serverless_function', $data ?? [], null); $this->setIfExists('card_type', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/CardFetchBodyPatch.php b/codegen/Crm/Extensions/Cards/Model/CardFetchBodyPatch.php index 89fc67a26..5bbeaf3a8 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardFetchBodyPatch.php +++ b/codegen/Crm/Extensions/Cards/Model/CardFetchBodyPatch.php @@ -273,10 +273,10 @@ public function getCardTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('serverless_function', $data ?? [], null); $this->setIfExists('card_type', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/CardObjectTypeBody.php b/codegen/Crm/Extensions/Cards/Model/CardObjectTypeBody.php index f283068b0..c19b568ea 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardObjectTypeBody.php +++ b/codegen/Crm/Extensions/Cards/Model/CardObjectTypeBody.php @@ -266,10 +266,10 @@ public function getNameAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('properties_to_send', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/CardPatchRequest.php b/codegen/Crm/Extensions/Cards/Model/CardPatchRequest.php index 584b54ef7..03ecae0d3 100644 --- a/codegen/Crm/Extensions/Cards/Model/CardPatchRequest.php +++ b/codegen/Crm/Extensions/Cards/Model/CardPatchRequest.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('fetch', $data ?? [], null); $this->setIfExists('display', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/DisplayOption.php b/codegen/Crm/Extensions/Cards/Model/DisplayOption.php index 16f476648..91ae0ed79 100644 --- a/codegen/Crm/Extensions/Cards/Model/DisplayOption.php +++ b/codegen/Crm/Extensions/Cards/Model/DisplayOption.php @@ -273,10 +273,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('label', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/Error.php b/codegen/Crm/Extensions/Cards/Model/Error.php index 87653104c..b0f10eeeb 100644 --- a/codegen/Crm/Extensions/Cards/Model/Error.php +++ b/codegen/Crm/Extensions/Cards/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/ErrorDetail.php b/codegen/Crm/Extensions/Cards/Model/ErrorDetail.php index feead66d3..dcc990e4e 100644 --- a/codegen/Crm/Extensions/Cards/Model/ErrorDetail.php +++ b/codegen/Crm/Extensions/Cards/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/IFrameActionBody.php b/codegen/Crm/Extensions/Cards/Model/IFrameActionBody.php index 38d8e8b6b..ae2e7b2a3 100644 --- a/codegen/Crm/Extensions/Cards/Model/IFrameActionBody.php +++ b/codegen/Crm/Extensions/Cards/Model/IFrameActionBody.php @@ -282,10 +282,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('property_names_included', $data ?? [], null); $this->setIfExists('width', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/IntegratorCardPayloadResponse.php b/codegen/Crm/Extensions/Cards/Model/IntegratorCardPayloadResponse.php index 6dd58c8cb..53577784e 100644 --- a/codegen/Crm/Extensions/Cards/Model/IntegratorCardPayloadResponse.php +++ b/codegen/Crm/Extensions/Cards/Model/IntegratorCardPayloadResponse.php @@ -285,10 +285,10 @@ public function getResponseVersionAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('response_version', $data ?? [], null); $this->setIfExists('card_label', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResult.php b/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResult.php index 829ed5a5a..9dbf45f1a 100644 --- a/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResult.php +++ b/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResult.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link_url', $data ?? [], null); $this->setIfExists('tokens', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResultActionsInner.php b/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResultActionsInner.php index 8b4eb8291..54d99fe57 100644 --- a/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResultActionsInner.php +++ b/codegen/Crm/Extensions/Cards/Model/IntegratorObjectResultActionsInner.php @@ -325,10 +325,10 @@ public function getHttpMethodAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('property_names_included', $data ?? [], null); $this->setIfExists('confirmation', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/ObjectToken.php b/codegen/Crm/Extensions/Cards/Model/ObjectToken.php index 6ff802fec..d4aa9d25f 100644 --- a/codegen/Crm/Extensions/Cards/Model/ObjectToken.php +++ b/codegen/Crm/Extensions/Cards/Model/ObjectToken.php @@ -286,10 +286,10 @@ public function getDataTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('data_type', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/PublicCardFetchBody.php b/codegen/Crm/Extensions/Cards/Model/PublicCardFetchBody.php index c08a224da..742b44594 100644 --- a/codegen/Crm/Extensions/Cards/Model/PublicCardFetchBody.php +++ b/codegen/Crm/Extensions/Cards/Model/PublicCardFetchBody.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_types', $data ?? [], null); $this->setIfExists('target_url', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/PublicCardListResponse.php b/codegen/Crm/Extensions/Cards/Model/PublicCardListResponse.php index df2e41052..bffe3b5c1 100644 --- a/codegen/Crm/Extensions/Cards/Model/PublicCardListResponse.php +++ b/codegen/Crm/Extensions/Cards/Model/PublicCardListResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Extensions/Cards/Model/PublicCardResponse.php b/codegen/Crm/Extensions/Cards/Model/PublicCardResponse.php index 564d2a68b..376c47dd9 100644 --- a/codegen/Crm/Extensions/Cards/Model/PublicCardResponse.php +++ b/codegen/Crm/Extensions/Cards/Model/PublicCardResponse.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('fetch', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Cards/Model/TopLevelActions.php b/codegen/Crm/Extensions/Cards/Model/TopLevelActions.php index 36e65c2ff..2e4bb3e3d 100644 --- a/codegen/Crm/Extensions/Cards/Model/TopLevelActions.php +++ b/codegen/Crm/Extensions/Cards/Model/TopLevelActions.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('secondary', $data ?? [], null); $this->setIfExists('settings', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Videoconferencing/Api/SettingsApi.php b/codegen/Crm/Extensions/Videoconferencing/Api/SettingsApi.php index bd60232c1..3c95d4286 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Api/SettingsApi.php +++ b/codegen/Crm/Extensions/Videoconferencing/Api/SettingsApi.php @@ -83,15 +83,15 @@ class SettingsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Extensions/Videoconferencing/Configuration.php b/codegen/Crm/Extensions/Videoconferencing/Configuration.php index 80759829c..db3bec78e 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Configuration.php +++ b/codegen/Crm/Extensions/Videoconferencing/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Extensions/Videoconferencing/Model/Error.php b/codegen/Crm/Extensions/Videoconferencing/Model/Error.php index b64363c20..5aae7d2c2 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Model/Error.php +++ b/codegen/Crm/Extensions/Videoconferencing/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Videoconferencing/Model/ErrorDetail.php b/codegen/Crm/Extensions/Videoconferencing/Model/ErrorDetail.php index bfa33d103..27da69536 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Model/ErrorDetail.php +++ b/codegen/Crm/Extensions/Videoconferencing/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Extensions/Videoconferencing/Model/ExternalSettings.php b/codegen/Crm/Extensions/Videoconferencing/Model/ExternalSettings.php index 375bf6145..5ea9dfa57 100644 --- a/codegen/Crm/Extensions/Videoconferencing/Model/ExternalSettings.php +++ b/codegen/Crm/Extensions/Videoconferencing/Model/ExternalSettings.php @@ -264,10 +264,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('user_verify_url', $data ?? [], null); $this->setIfExists('fetch_accounts_uri', $data ?? [], null); diff --git a/codegen/Crm/Imports/Api/CoreApi.php b/codegen/Crm/Imports/Api/CoreApi.php index 867e177bb..4fced0057 100644 --- a/codegen/Crm/Imports/Api/CoreApi.php +++ b/codegen/Crm/Imports/Api/CoreApi.php @@ -86,15 +86,15 @@ class CoreApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Imports/Api/PublicImportsApi.php b/codegen/Crm/Imports/Api/PublicImportsApi.php index 90fa61864..4955842a3 100644 --- a/codegen/Crm/Imports/Api/PublicImportsApi.php +++ b/codegen/Crm/Imports/Api/PublicImportsApi.php @@ -77,15 +77,15 @@ class PublicImportsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Imports/Configuration.php b/codegen/Crm/Imports/Configuration.php index c30b5667d..b17033d5f 100644 --- a/codegen/Crm/Imports/Configuration.php +++ b/codegen/Crm/Imports/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Imports/Model/ActionResponse.php b/codegen/Crm/Imports/Model/ActionResponse.php index 520b4ceaf..b54a8fa0a 100644 --- a/codegen/Crm/Imports/Model/ActionResponse.php +++ b/codegen/Crm/Imports/Model/ActionResponse.php @@ -282,10 +282,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/CollectionResponsePublicImportErrorForwardPaging.php b/codegen/Crm/Imports/Model/CollectionResponsePublicImportErrorForwardPaging.php index b714b683b..024f0722a 100644 --- a/codegen/Crm/Imports/Model/CollectionResponsePublicImportErrorForwardPaging.php +++ b/codegen/Crm/Imports/Model/CollectionResponsePublicImportErrorForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/CollectionResponsePublicImportResponse.php b/codegen/Crm/Imports/Model/CollectionResponsePublicImportResponse.php index a07fa9ded..157385d63 100644 --- a/codegen/Crm/Imports/Model/CollectionResponsePublicImportResponse.php +++ b/codegen/Crm/Imports/Model/CollectionResponsePublicImportResponse.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/Error.php b/codegen/Crm/Imports/Model/Error.php index 94a12d12e..1742f484a 100644 --- a/codegen/Crm/Imports/Model/Error.php +++ b/codegen/Crm/Imports/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/ErrorDetail.php b/codegen/Crm/Imports/Model/ErrorDetail.php index d381b4d16..1c59038f7 100644 --- a/codegen/Crm/Imports/Model/ErrorDetail.php +++ b/codegen/Crm/Imports/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/ForwardPaging.php b/codegen/Crm/Imports/Model/ForwardPaging.php index 464ed4a2e..d14495c3d 100644 --- a/codegen/Crm/Imports/Model/ForwardPaging.php +++ b/codegen/Crm/Imports/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Imports/Model/ImportRowCore.php b/codegen/Crm/Imports/Model/ImportRowCore.php index e46b4e3f8..dce9c7864 100644 --- a/codegen/Crm/Imports/Model/ImportRowCore.php +++ b/codegen/Crm/Imports/Model/ImportRowCore.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('row_data', $data ?? [], null); $this->setIfExists('line_number', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/ImportTemplate.php b/codegen/Crm/Imports/Model/ImportTemplate.php index 61b846048..09a439e59 100644 --- a/codegen/Crm/Imports/Model/ImportTemplate.php +++ b/codegen/Crm/Imports/Model/ImportTemplate.php @@ -262,10 +262,10 @@ public function getTemplateTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('template_type', $data ?? [], null); $this->setIfExists('template_id', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/NextPage.php b/codegen/Crm/Imports/Model/NextPage.php index fa1c980b7..0e0d22984 100644 --- a/codegen/Crm/Imports/Model/NextPage.php +++ b/codegen/Crm/Imports/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/Paging.php b/codegen/Crm/Imports/Model/Paging.php index 45b9f51ae..d8640ca5f 100644 --- a/codegen/Crm/Imports/Model/Paging.php +++ b/codegen/Crm/Imports/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/PreviousPage.php b/codegen/Crm/Imports/Model/PreviousPage.php index 16385e6a8..298ccfb61 100644 --- a/codegen/Crm/Imports/Model/PreviousPage.php +++ b/codegen/Crm/Imports/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/PublicImportError.php b/codegen/Crm/Imports/Model/PublicImportError.php index a5eb8869c..be046909d 100644 --- a/codegen/Crm/Imports/Model/PublicImportError.php +++ b/codegen/Crm/Imports/Model/PublicImportError.php @@ -713,10 +713,10 @@ public function getObjectTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('extra_context', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/PublicImportMetadata.php b/codegen/Crm/Imports/Model/PublicImportMetadata.php index 0b7fd1a20..1fcaf9f19 100644 --- a/codegen/Crm/Imports/Model/PublicImportMetadata.php +++ b/codegen/Crm/Imports/Model/PublicImportMetadata.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('counters', $data ?? [], null); $this->setIfExists('file_ids', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/PublicImportResponse.php b/codegen/Crm/Imports/Model/PublicImportResponse.php index 88f04f75f..a23006045 100644 --- a/codegen/Crm/Imports/Model/PublicImportResponse.php +++ b/codegen/Crm/Imports/Model/PublicImportResponse.php @@ -342,10 +342,10 @@ public function getStateAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('import_template', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Imports/Model/PublicObjectListRecord.php b/codegen/Crm/Imports/Model/PublicObjectListRecord.php index b59402468..803625000 100644 --- a/codegen/Crm/Imports/Model/PublicObjectListRecord.php +++ b/codegen/Crm/Imports/Model/PublicObjectListRecord.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list_id', $data ?? [], null); $this->setIfExists('object_type', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Api/BasicApi.php b/codegen/Crm/LineItems/Api/BasicApi.php index 7f010e772..e3ffa7c1f 100644 --- a/codegen/Crm/LineItems/Api/BasicApi.php +++ b/codegen/Crm/LineItems/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/LineItems/Api/BatchApi.php b/codegen/Crm/LineItems/Api/BatchApi.php index 7cc7fe078..1ed8e5a98 100644 --- a/codegen/Crm/LineItems/Api/BatchApi.php +++ b/codegen/Crm/LineItems/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/LineItems/Api/SearchApi.php b/codegen/Crm/LineItems/Api/SearchApi.php index bbee4667c..891dae7e2 100644 --- a/codegen/Crm/LineItems/Api/SearchApi.php +++ b/codegen/Crm/LineItems/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/LineItems/Configuration.php b/codegen/Crm/LineItems/Configuration.php index 5629f6582..d53a25ea7 100644 --- a/codegen/Crm/LineItems/Configuration.php +++ b/codegen/Crm/LineItems/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/LineItems/Model/AssociatedId.php b/codegen/Crm/LineItems/Model/AssociatedId.php index 9bbb9ce6b..c4b0e4141 100644 --- a/codegen/Crm/LineItems/Model/AssociatedId.php +++ b/codegen/Crm/LineItems/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/AssociationSpec.php b/codegen/Crm/LineItems/Model/AssociationSpec.php index 86d12e8ac..0f6df16db 100644 --- a/codegen/Crm/LineItems/Model/AssociationSpec.php +++ b/codegen/Crm/LineItems/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInput.php index f3aaf3e44..e6d0354a1 100644 --- a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index e744db0b6..3fbeb4937 100644 --- a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectId.php index 65cabe718..5fb398264 100644 --- a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectInputForCreate.php index 54c6c2ece..d08c7e6b8 100644 --- a/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/LineItems/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/LineItems/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/LineItems/Model/BatchReadInputSimplePublicObjectId.php index 67de4db0b..1b4052136 100644 --- a/codegen/Crm/LineItems/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/LineItems/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObject.php index c84e0ec7d..d85692440 100644 --- a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObjectWithErrors.php index 27e554701..d662d444c 100644 --- a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicUpsertObject.php index 883024770..54428bd14 100644 --- a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 6cbe01c05..57affa0f5 100644 --- a/codegen/Crm/LineItems/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/LineItems/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/CollectionResponseAssociatedId.php b/codegen/Crm/LineItems/Model/CollectionResponseAssociatedId.php index 174e4cf13..8c564638d 100644 --- a/codegen/Crm/LineItems/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/LineItems/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/LineItems/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index f35c009de..07deb86af 100644 --- a/codegen/Crm/LineItems/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/LineItems/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/LineItems/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 3cf4241c1..f9c3a91b7 100644 --- a/codegen/Crm/LineItems/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/LineItems/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/Error.php b/codegen/Crm/LineItems/Model/Error.php index e609a3027..48ade1569 100644 --- a/codegen/Crm/LineItems/Model/Error.php +++ b/codegen/Crm/LineItems/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/ErrorDetail.php b/codegen/Crm/LineItems/Model/ErrorDetail.php index 460c51559..22a7b048c 100644 --- a/codegen/Crm/LineItems/Model/ErrorDetail.php +++ b/codegen/Crm/LineItems/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/Filter.php b/codegen/Crm/LineItems/Model/Filter.php index 432147745..3c91fc79f 100644 --- a/codegen/Crm/LineItems/Model/Filter.php +++ b/codegen/Crm/LineItems/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/FilterGroup.php b/codegen/Crm/LineItems/Model/FilterGroup.php index b9f18bd40..5c0929407 100644 --- a/codegen/Crm/LineItems/Model/FilterGroup.php +++ b/codegen/Crm/LineItems/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/LineItems/Model/ForwardPaging.php b/codegen/Crm/LineItems/Model/ForwardPaging.php index c34383854..2720a2e72 100644 --- a/codegen/Crm/LineItems/Model/ForwardPaging.php +++ b/codegen/Crm/LineItems/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/LineItems/Model/NextPage.php b/codegen/Crm/LineItems/Model/NextPage.php index 106404d2c..9491c2eda 100644 --- a/codegen/Crm/LineItems/Model/NextPage.php +++ b/codegen/Crm/LineItems/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/Paging.php b/codegen/Crm/LineItems/Model/Paging.php index 42c2bda75..f57fd43e5 100644 --- a/codegen/Crm/LineItems/Model/Paging.php +++ b/codegen/Crm/LineItems/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/PreviousPage.php b/codegen/Crm/LineItems/Model/PreviousPage.php index f67be4d62..3ddbad24d 100644 --- a/codegen/Crm/LineItems/Model/PreviousPage.php +++ b/codegen/Crm/LineItems/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/PublicAssociationsForObject.php b/codegen/Crm/LineItems/Model/PublicAssociationsForObject.php index 78b89a20d..bae2a8447 100644 --- a/codegen/Crm/LineItems/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/LineItems/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/PublicObjectId.php b/codegen/Crm/LineItems/Model/PublicObjectId.php index 79d9e995e..46544d2ed 100644 --- a/codegen/Crm/LineItems/Model/PublicObjectId.php +++ b/codegen/Crm/LineItems/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/LineItems/Model/PublicObjectSearchRequest.php b/codegen/Crm/LineItems/Model/PublicObjectSearchRequest.php index a76e3cc2b..ffa56e0d6 100644 --- a/codegen/Crm/LineItems/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/LineItems/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/SimplePublicObject.php b/codegen/Crm/LineItems/Model/SimplePublicObject.php index d604afe33..e1b3b305d 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObject.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInput.php index 08ce6db98..f71d86382 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInputUpsert.php index 87d907597..78f9fb3bb 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectId.php b/codegen/Crm/LineItems/Model/SimplePublicObjectId.php index 0866c397d..4767804f0 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectId.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectInput.php b/codegen/Crm/LineItems/Model/SimplePublicObjectInput.php index 728d3b34c..a1ec68561 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/LineItems/Model/SimplePublicObjectInputForCreate.php index 374e6eddd..3d0b140da 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/LineItems/Model/SimplePublicObjectWithAssociations.php index 4a82e82cc..030a44950 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/LineItems/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/SimplePublicUpsertObject.php b/codegen/Crm/LineItems/Model/SimplePublicUpsertObject.php index bf5e64c99..efeaa7cf9 100644 --- a/codegen/Crm/LineItems/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/LineItems/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/StandardError.php b/codegen/Crm/LineItems/Model/StandardError.php index 66d7fb477..4bb8b8bd0 100644 --- a/codegen/Crm/LineItems/Model/StandardError.php +++ b/codegen/Crm/LineItems/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/LineItems/Model/ValueWithTimestamp.php b/codegen/Crm/LineItems/Model/ValueWithTimestamp.php index 546dc0d29..0153cabaa 100644 --- a/codegen/Crm/LineItems/Model/ValueWithTimestamp.php +++ b/codegen/Crm/LineItems/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Lists/Api/FoldersApi.php b/codegen/Crm/Lists/Api/FoldersApi.php index bd9677e95..e8dec7ff8 100644 --- a/codegen/Crm/Lists/Api/FoldersApi.php +++ b/codegen/Crm/Lists/Api/FoldersApi.php @@ -92,15 +92,15 @@ class FoldersApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Lists/Api/ListsApi.php b/codegen/Crm/Lists/Api/ListsApi.php index 30aa99a88..28cc823b2 100644 --- a/codegen/Crm/Lists/Api/ListsApi.php +++ b/codegen/Crm/Lists/Api/ListsApi.php @@ -101,15 +101,15 @@ class ListsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Lists/Api/MappingApi.php b/codegen/Crm/Lists/Api/MappingApi.php index a0b2b4e8c..d24dbb35f 100644 --- a/codegen/Crm/Lists/Api/MappingApi.php +++ b/codegen/Crm/Lists/Api/MappingApi.php @@ -80,15 +80,15 @@ class MappingApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Lists/Api/MembershipsApi.php b/codegen/Crm/Lists/Api/MembershipsApi.php index 0f4d7eed6..58cbab7a5 100644 --- a/codegen/Crm/Lists/Api/MembershipsApi.php +++ b/codegen/Crm/Lists/Api/MembershipsApi.php @@ -98,15 +98,15 @@ class MembershipsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Lists/Configuration.php b/codegen/Crm/Lists/Configuration.php index 0530aaf58..817070109 100644 --- a/codegen/Crm/Lists/Configuration.php +++ b/codegen/Crm/Lists/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Lists/Model/ApiCollectionResponseJoinTimeAndRecordId.php b/codegen/Crm/Lists/Model/ApiCollectionResponseJoinTimeAndRecordId.php index 2470e39e3..150e0873f 100644 --- a/codegen/Crm/Lists/Model/ApiCollectionResponseJoinTimeAndRecordId.php +++ b/codegen/Crm/Lists/Model/ApiCollectionResponseJoinTimeAndRecordId.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/ApiCollectionResponseRecordListMembershipNoPaging.php b/codegen/Crm/Lists/Model/ApiCollectionResponseRecordListMembershipNoPaging.php index babde4d66..938e20e86 100644 --- a/codegen/Crm/Lists/Model/ApiCollectionResponseRecordListMembershipNoPaging.php +++ b/codegen/Crm/Lists/Model/ApiCollectionResponseRecordListMembershipNoPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/Error.php b/codegen/Crm/Lists/Model/Error.php index 8892e5d2e..2ede8e6ac 100644 --- a/codegen/Crm/Lists/Model/Error.php +++ b/codegen/Crm/Lists/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/ErrorDetail.php b/codegen/Crm/Lists/Model/ErrorDetail.php index c458878e0..3c821cf3a 100644 --- a/codegen/Crm/Lists/Model/ErrorDetail.php +++ b/codegen/Crm/Lists/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/JoinTimeAndRecordId.php b/codegen/Crm/Lists/Model/JoinTimeAndRecordId.php index 9ee5359ea..3a107ecf4 100644 --- a/codegen/Crm/Lists/Model/JoinTimeAndRecordId.php +++ b/codegen/Crm/Lists/Model/JoinTimeAndRecordId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('record_id', $data ?? [], null); $this->setIfExists('membership_timestamp', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/ListCreateRequest.php b/codegen/Crm/Lists/Model/ListCreateRequest.php index 08101f24b..08cafb8d9 100644 --- a/codegen/Crm/Lists/Model/ListCreateRequest.php +++ b/codegen/Crm/Lists/Model/ListCreateRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_type_id', $data ?? [], null); $this->setIfExists('processing_type', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/ListCreateResponse.php b/codegen/Crm/Lists/Model/ListCreateResponse.php index 0c4c3a42a..ccdd718b1 100644 --- a/codegen/Crm/Lists/Model/ListCreateResponse.php +++ b/codegen/Crm/Lists/Model/ListCreateResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list', $data ?? [], null); } diff --git a/codegen/Crm/Lists/Model/ListFetchResponse.php b/codegen/Crm/Lists/Model/ListFetchResponse.php index 32ceae680..0223786dd 100644 --- a/codegen/Crm/Lists/Model/ListFetchResponse.php +++ b/codegen/Crm/Lists/Model/ListFetchResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list', $data ?? [], null); } diff --git a/codegen/Crm/Lists/Model/ListFilterUpdateRequest.php b/codegen/Crm/Lists/Model/ListFilterUpdateRequest.php index 9442540ee..1c43c57b7 100644 --- a/codegen/Crm/Lists/Model/ListFilterUpdateRequest.php +++ b/codegen/Crm/Lists/Model/ListFilterUpdateRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch', $data ?? [], null); } diff --git a/codegen/Crm/Lists/Model/ListFolderCreateRequest.php b/codegen/Crm/Lists/Model/ListFolderCreateRequest.php index ade8fd8b5..59a9b6e2a 100644 --- a/codegen/Crm/Lists/Model/ListFolderCreateRequest.php +++ b/codegen/Crm/Lists/Model/ListFolderCreateRequest.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('parent_folder_id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/ListFolderCreateResponse.php b/codegen/Crm/Lists/Model/ListFolderCreateResponse.php index 3ddec2c69..eeceba7c6 100644 --- a/codegen/Crm/Lists/Model/ListFolderCreateResponse.php +++ b/codegen/Crm/Lists/Model/ListFolderCreateResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('folder', $data ?? [], null); } diff --git a/codegen/Crm/Lists/Model/ListFolderFetchResponse.php b/codegen/Crm/Lists/Model/ListFolderFetchResponse.php index 86b9b8e46..88a056573 100644 --- a/codegen/Crm/Lists/Model/ListFolderFetchResponse.php +++ b/codegen/Crm/Lists/Model/ListFolderFetchResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('folder', $data ?? [], null); } diff --git a/codegen/Crm/Lists/Model/ListMoveRequest.php b/codegen/Crm/Lists/Model/ListMoveRequest.php index b24fd9fdd..e97846962 100644 --- a/codegen/Crm/Lists/Model/ListMoveRequest.php +++ b/codegen/Crm/Lists/Model/ListMoveRequest.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list_id', $data ?? [], null); $this->setIfExists('new_folder_id', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/ListSearchRequest.php b/codegen/Crm/Lists/Model/ListSearchRequest.php index 72ad1dbf4..665e6fe76 100644 --- a/codegen/Crm/Lists/Model/ListSearchRequest.php +++ b/codegen/Crm/Lists/Model/ListSearchRequest.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list_ids', $data ?? [], null); $this->setIfExists('offset', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/ListSearchResponse.php b/codegen/Crm/Lists/Model/ListSearchResponse.php index b34a98a9b..3f01c2096 100644 --- a/codegen/Crm/Lists/Model/ListSearchResponse.php +++ b/codegen/Crm/Lists/Model/ListSearchResponse.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('offset', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/ListUpdateResponse.php b/codegen/Crm/Lists/Model/ListUpdateResponse.php index cef0bb72b..dcc8fa1d3 100644 --- a/codegen/Crm/Lists/Model/ListUpdateResponse.php +++ b/codegen/Crm/Lists/Model/ListUpdateResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('updated_list', $data ?? [], null); } diff --git a/codegen/Crm/Lists/Model/ListsByIdResponse.php b/codegen/Crm/Lists/Model/ListsByIdResponse.php index 6d782f10f..0b8acda8a 100644 --- a/codegen/Crm/Lists/Model/ListsByIdResponse.php +++ b/codegen/Crm/Lists/Model/ListsByIdResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('lists', $data ?? [], null); } diff --git a/codegen/Crm/Lists/Model/MembershipChangeRequest.php b/codegen/Crm/Lists/Model/MembershipChangeRequest.php index eca7f677e..760718e93 100644 --- a/codegen/Crm/Lists/Model/MembershipChangeRequest.php +++ b/codegen/Crm/Lists/Model/MembershipChangeRequest.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('record_ids_to_remove', $data ?? [], null); $this->setIfExists('record_ids_to_add', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/MembershipsUpdateResponse.php b/codegen/Crm/Lists/Model/MembershipsUpdateResponse.php index a340384c3..f0a31147a 100644 --- a/codegen/Crm/Lists/Model/MembershipsUpdateResponse.php +++ b/codegen/Crm/Lists/Model/MembershipsUpdateResponse.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('record_ids_removed', $data ?? [], null); $this->setIfExists('records_ids_added', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/NextPage.php b/codegen/Crm/Lists/Model/NextPage.php index 0f2dd856b..f0d8f815e 100644 --- a/codegen/Crm/Lists/Model/NextPage.php +++ b/codegen/Crm/Lists/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/Paging.php b/codegen/Crm/Lists/Model/Paging.php index dcb93cd4d..715c6ed73 100644 --- a/codegen/Crm/Lists/Model/Paging.php +++ b/codegen/Crm/Lists/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PreviousPage.php b/codegen/Crm/Lists/Model/PreviousPage.php index 1687edee9..2af3e3d96 100644 --- a/codegen/Crm/Lists/Model/PreviousPage.php +++ b/codegen/Crm/Lists/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicAbsoluteComparativeTimestampRefineBy.php b/codegen/Crm/Lists/Model/PublicAbsoluteComparativeTimestampRefineBy.php index ac14b1627..7ca436699 100644 --- a/codegen/Crm/Lists/Model/PublicAbsoluteComparativeTimestampRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicAbsoluteComparativeTimestampRefineBy.php @@ -264,10 +264,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('comparison', $data ?? [], null); $this->setIfExists('type', $data ?? [], 'ABSOLUTE_COMPARATIVE'); diff --git a/codegen/Crm/Lists/Model/PublicAbsoluteRangedTimestampRefineBy.php b/codegen/Crm/Lists/Model/PublicAbsoluteRangedTimestampRefineBy.php index 7f19b21ed..465fc5916 100644 --- a/codegen/Crm/Lists/Model/PublicAbsoluteRangedTimestampRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicAbsoluteRangedTimestampRefineBy.php @@ -270,10 +270,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('range_type', $data ?? [], null); $this->setIfExists('upper_timestamp', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicAdsSearchFilter.php b/codegen/Crm/Lists/Model/PublicAdsSearchFilter.php index d09bdb579..11494982c 100644 --- a/codegen/Crm/Lists/Model/PublicAdsSearchFilter.php +++ b/codegen/Crm/Lists/Model/PublicAdsSearchFilter.php @@ -282,10 +282,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('search_terms', $data ?? [], null); $this->setIfExists('entity_type', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicAdsTimeFilter.php b/codegen/Crm/Lists/Model/PublicAdsTimeFilter.php index eb3be3174..67662b40c 100644 --- a/codegen/Crm/Lists/Model/PublicAdsTimeFilter.php +++ b/codegen/Crm/Lists/Model/PublicAdsTimeFilter.php @@ -258,10 +258,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('pruning_refine_by', $data ?? [], null); $this->setIfExists('filter_type', $data ?? [], 'ADS_TIME'); diff --git a/codegen/Crm/Lists/Model/PublicAllHistoryRefineBy.php b/codegen/Crm/Lists/Model/PublicAllHistoryRefineBy.php index d4aa3585a..fd0ca1b30 100644 --- a/codegen/Crm/Lists/Model/PublicAllHistoryRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicAllHistoryRefineBy.php @@ -252,10 +252,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], 'ALL_HISTORY'); } diff --git a/codegen/Crm/Lists/Model/PublicAllPropertyTypesOperation.php b/codegen/Crm/Lists/Model/PublicAllPropertyTypesOperation.php index da4702baf..54066444e 100644 --- a/codegen/Crm/Lists/Model/PublicAllPropertyTypesOperation.php +++ b/codegen/Crm/Lists/Model/PublicAllPropertyTypesOperation.php @@ -264,10 +264,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('operation_type', $data ?? [], 'ALL_PROPERTY'); diff --git a/codegen/Crm/Lists/Model/PublicAndFilterBranch.php b/codegen/Crm/Lists/Model/PublicAndFilterBranch.php index 365a6e6c0..18428f72f 100644 --- a/codegen/Crm/Lists/Model/PublicAndFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicAndFilterBranch.php @@ -270,10 +270,10 @@ public function getFilterBranchTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'AND'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicAssociationFilterBranch.php b/codegen/Crm/Lists/Model/PublicAssociationFilterBranch.php index 9bea3d217..a863eaa9b 100644 --- a/codegen/Crm/Lists/Model/PublicAssociationFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicAssociationFilterBranch.php @@ -294,10 +294,10 @@ public function getFilterBranchTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'ASSOCIATION'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicAssociationInListFilter.php b/codegen/Crm/Lists/Model/PublicAssociationInListFilter.php index 3dec8266a..be3b95ff4 100644 --- a/codegen/Crm/Lists/Model/PublicAssociationInListFilter.php +++ b/codegen/Crm/Lists/Model/PublicAssociationInListFilter.php @@ -294,10 +294,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list_id', $data ?? [], null); $this->setIfExists('coalescing_refine_by', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicBatchMigrationMapping.php b/codegen/Crm/Lists/Model/PublicBatchMigrationMapping.php index beb158249..56da82a7b 100644 --- a/codegen/Crm/Lists/Model/PublicBatchMigrationMapping.php +++ b/codegen/Crm/Lists/Model/PublicBatchMigrationMapping.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('legacy_list_ids_to_ids_mapping', $data ?? [], null); $this->setIfExists('missing_legacy_list_ids', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicBoolPropertyOperation.php b/codegen/Crm/Lists/Model/PublicBoolPropertyOperation.php index 8cc356bff..28a167684 100644 --- a/codegen/Crm/Lists/Model/PublicBoolPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicBoolPropertyOperation.php @@ -270,10 +270,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('operation_type', $data ?? [], 'BOOL'); diff --git a/codegen/Crm/Lists/Model/PublicCalendarDatePropertyOperation.php b/codegen/Crm/Lists/Model/PublicCalendarDatePropertyOperation.php index c37441792..a7135e3e2 100644 --- a/codegen/Crm/Lists/Model/PublicCalendarDatePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicCalendarDatePropertyOperation.php @@ -323,10 +323,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('use_fiscal_year', $data ?? [], null); $this->setIfExists('fiscal_year_start', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicCampaignInfluencedFilter.php b/codegen/Crm/Lists/Model/PublicCampaignInfluencedFilter.php index fc3917207..d219fca98 100644 --- a/codegen/Crm/Lists/Model/PublicCampaignInfluencedFilter.php +++ b/codegen/Crm/Lists/Model/PublicCampaignInfluencedFilter.php @@ -258,10 +258,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('campaign_id', $data ?? [], null); $this->setIfExists('filter_type', $data ?? [], 'CAMPAIGN_INFLUENCED'); diff --git a/codegen/Crm/Lists/Model/PublicCommunicationSubscriptionFilter.php b/codegen/Crm/Lists/Model/PublicCommunicationSubscriptionFilter.php index 16b1ee700..2c47987b1 100644 --- a/codegen/Crm/Lists/Model/PublicCommunicationSubscriptionFilter.php +++ b/codegen/Crm/Lists/Model/PublicCommunicationSubscriptionFilter.php @@ -282,10 +282,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('subscription_type', $data ?? [], null); $this->setIfExists('subscription_ids', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicComparativeDatePropertyOperation.php b/codegen/Crm/Lists/Model/PublicComparativeDatePropertyOperation.php index 40cde5a4c..1b77e731a 100644 --- a/codegen/Crm/Lists/Model/PublicComparativeDatePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicComparativeDatePropertyOperation.php @@ -276,10 +276,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('default_comparison_value', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicComparativePropertyUpdatedOperation.php b/codegen/Crm/Lists/Model/PublicComparativePropertyUpdatedOperation.php index a14b27665..f92341612 100644 --- a/codegen/Crm/Lists/Model/PublicComparativePropertyUpdatedOperation.php +++ b/codegen/Crm/Lists/Model/PublicComparativePropertyUpdatedOperation.php @@ -276,10 +276,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('default_comparison_value', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicConstantFilter.php b/codegen/Crm/Lists/Model/PublicConstantFilter.php index 08fa7e48d..6ce195624 100644 --- a/codegen/Crm/Lists/Model/PublicConstantFilter.php +++ b/codegen/Crm/Lists/Model/PublicConstantFilter.php @@ -264,10 +264,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('should_accept', $data ?? [], null); $this->setIfExists('source', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicCtaAnalyticsFilter.php b/codegen/Crm/Lists/Model/PublicCtaAnalyticsFilter.php index e58542019..761627c53 100644 --- a/codegen/Crm/Lists/Model/PublicCtaAnalyticsFilter.php +++ b/codegen/Crm/Lists/Model/PublicCtaAnalyticsFilter.php @@ -276,10 +276,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('coalescing_refine_by', $data ?? [], null); $this->setIfExists('pruning_refine_by', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicDatePoint.php b/codegen/Crm/Lists/Model/PublicDatePoint.php index 4beaefc5f..b75488bd1 100644 --- a/codegen/Crm/Lists/Model/PublicDatePoint.php +++ b/codegen/Crm/Lists/Model/PublicDatePoint.php @@ -306,10 +306,10 @@ public function getTimeTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('month', $data ?? [], null); $this->setIfExists('hour', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicDatePropertyOperation.php b/codegen/Crm/Lists/Model/PublicDatePropertyOperation.php index 17551bca4..67c9d35c1 100644 --- a/codegen/Crm/Lists/Model/PublicDatePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicDatePropertyOperation.php @@ -282,10 +282,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('month', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicDateTimePropertyOperation.php b/codegen/Crm/Lists/Model/PublicDateTimePropertyOperation.php index 1e27495e1..87555df97 100644 --- a/codegen/Crm/Lists/Model/PublicDateTimePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicDateTimePropertyOperation.php @@ -276,10 +276,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('requires_time_zone_conversion', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicEmailEventFilter.php b/codegen/Crm/Lists/Model/PublicEmailEventFilter.php index 7b8a2b8d0..615adbb74 100644 --- a/codegen/Crm/Lists/Model/PublicEmailEventFilter.php +++ b/codegen/Crm/Lists/Model/PublicEmailEventFilter.php @@ -325,10 +325,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('click_url', $data ?? [], null); $this->setIfExists('level', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicEmailSubscriptionFilter.php b/codegen/Crm/Lists/Model/PublicEmailSubscriptionFilter.php index 8f4159a9e..7acaa18af 100644 --- a/codegen/Crm/Lists/Model/PublicEmailSubscriptionFilter.php +++ b/codegen/Crm/Lists/Model/PublicEmailSubscriptionFilter.php @@ -270,10 +270,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('subscription_type', $data ?? [], null); $this->setIfExists('subscription_ids', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicEnumerationPropertyOperation.php b/codegen/Crm/Lists/Model/PublicEnumerationPropertyOperation.php index 2c2d1105b..0fd4610d3 100644 --- a/codegen/Crm/Lists/Model/PublicEnumerationPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicEnumerationPropertyOperation.php @@ -270,10 +270,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('values', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicEventAnalyticsFilter.php b/codegen/Crm/Lists/Model/PublicEventAnalyticsFilter.php index a544f0a67..112c4f581 100644 --- a/codegen/Crm/Lists/Model/PublicEventAnalyticsFilter.php +++ b/codegen/Crm/Lists/Model/PublicEventAnalyticsFilter.php @@ -276,10 +276,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('event_id', $data ?? [], null); $this->setIfExists('coalescing_refine_by', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicEventFilterMetadata.php b/codegen/Crm/Lists/Model/PublicEventFilterMetadata.php index b8fb14763..f7cad73a0 100644 --- a/codegen/Crm/Lists/Model/PublicEventFilterMetadata.php +++ b/codegen/Crm/Lists/Model/PublicEventFilterMetadata.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('property', $data ?? [], null); $this->setIfExists('operation', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicFiscalQuarterReference.php b/codegen/Crm/Lists/Model/PublicFiscalQuarterReference.php index f8233e687..5320e99d0 100644 --- a/codegen/Crm/Lists/Model/PublicFiscalQuarterReference.php +++ b/codegen/Crm/Lists/Model/PublicFiscalQuarterReference.php @@ -288,10 +288,10 @@ public function getReferenceTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hour', $data ?? [], null); $this->setIfExists('month', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicFiscalYearReference.php b/codegen/Crm/Lists/Model/PublicFiscalYearReference.php index 783f9f339..6fbdc5674 100644 --- a/codegen/Crm/Lists/Model/PublicFiscalYearReference.php +++ b/codegen/Crm/Lists/Model/PublicFiscalYearReference.php @@ -288,10 +288,10 @@ public function getReferenceTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hour', $data ?? [], null); $this->setIfExists('month', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicFormSubmissionFilter.php b/codegen/Crm/Lists/Model/PublicFormSubmissionFilter.php index 246718588..606648a69 100644 --- a/codegen/Crm/Lists/Model/PublicFormSubmissionFilter.php +++ b/codegen/Crm/Lists/Model/PublicFormSubmissionFilter.php @@ -291,10 +291,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('form_id', $data ?? [], null); $this->setIfExists('coalescing_refine_by', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicFormSubmissionFilterCoalescingRefineBy.php b/codegen/Crm/Lists/Model/PublicFormSubmissionFilterCoalescingRefineBy.php index 1005e387e..cec1f3c25 100644 --- a/codegen/Crm/Lists/Model/PublicFormSubmissionFilterCoalescingRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicFormSubmissionFilterCoalescingRefineBy.php @@ -365,10 +365,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('max_occurrences', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicFormSubmissionOnPageFilter.php b/codegen/Crm/Lists/Model/PublicFormSubmissionOnPageFilter.php index 65b8fc600..3be19ea3f 100644 --- a/codegen/Crm/Lists/Model/PublicFormSubmissionOnPageFilter.php +++ b/codegen/Crm/Lists/Model/PublicFormSubmissionOnPageFilter.php @@ -297,10 +297,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('form_id', $data ?? [], null); $this->setIfExists('coalescing_refine_by', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicInListFilter.php b/codegen/Crm/Lists/Model/PublicInListFilter.php index 22820272e..8cf1941fc 100644 --- a/codegen/Crm/Lists/Model/PublicInListFilter.php +++ b/codegen/Crm/Lists/Model/PublicInListFilter.php @@ -270,10 +270,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list_id', $data ?? [], null); $this->setIfExists('metadata', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicInListFilterMetadata.php b/codegen/Crm/Lists/Model/PublicInListFilterMetadata.php index a11e455ce..94799454f 100644 --- a/codegen/Crm/Lists/Model/PublicInListFilterMetadata.php +++ b/codegen/Crm/Lists/Model/PublicInListFilterMetadata.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('in_list_type', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicIndexOffset.php b/codegen/Crm/Lists/Model/PublicIndexOffset.php index f4183f78b..5e710f00e 100644 --- a/codegen/Crm/Lists/Model/PublicIndexOffset.php +++ b/codegen/Crm/Lists/Model/PublicIndexOffset.php @@ -287,10 +287,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('milliseconds', $data ?? [], null); $this->setIfExists('hours', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicIndexedTimePoint.php b/codegen/Crm/Lists/Model/PublicIndexedTimePoint.php index f3cd97a94..e76989e0b 100644 --- a/codegen/Crm/Lists/Model/PublicIndexedTimePoint.php +++ b/codegen/Crm/Lists/Model/PublicIndexedTimePoint.php @@ -276,10 +276,10 @@ public function getTimeTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('offset', $data ?? [], null); $this->setIfExists('timezone_source', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicIndexedTimePointIndexReference.php b/codegen/Crm/Lists/Model/PublicIndexedTimePointIndexReference.php index 38f17d307..b74ddfec9 100644 --- a/codegen/Crm/Lists/Model/PublicIndexedTimePointIndexReference.php +++ b/codegen/Crm/Lists/Model/PublicIndexedTimePointIndexReference.php @@ -319,10 +319,10 @@ public function getDayOfWeekAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hour', $data ?? [], null); $this->setIfExists('millisecond', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicIntegrationEventFilter.php b/codegen/Crm/Lists/Model/PublicIntegrationEventFilter.php index 73b6f78df..992eb3512 100644 --- a/codegen/Crm/Lists/Model/PublicIntegrationEventFilter.php +++ b/codegen/Crm/Lists/Model/PublicIntegrationEventFilter.php @@ -264,10 +264,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('event_type_id', $data ?? [], null); $this->setIfExists('filter_lines', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicListFolder.php b/codegen/Crm/Lists/Model/PublicListFolder.php index 042d9a96d..c6606acb8 100644 --- a/codegen/Crm/Lists/Model/PublicListFolder.php +++ b/codegen/Crm/Lists/Model/PublicListFolder.php @@ -287,10 +287,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('parent_folder_id', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicMigrationMapping.php b/codegen/Crm/Lists/Model/PublicMigrationMapping.php index bee67bca6..bce810aa8 100644 --- a/codegen/Crm/Lists/Model/PublicMigrationMapping.php +++ b/codegen/Crm/Lists/Model/PublicMigrationMapping.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list_id', $data ?? [], null); $this->setIfExists('legacy_list_id', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicMonthReference.php b/codegen/Crm/Lists/Model/PublicMonthReference.php index 5775a02f4..9f426958a 100644 --- a/codegen/Crm/Lists/Model/PublicMonthReference.php +++ b/codegen/Crm/Lists/Model/PublicMonthReference.php @@ -282,10 +282,10 @@ public function getReferenceTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hour', $data ?? [], null); $this->setIfExists('millisecond', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicMultiStringPropertyOperation.php b/codegen/Crm/Lists/Model/PublicMultiStringPropertyOperation.php index c7d51e185..c698ded2d 100644 --- a/codegen/Crm/Lists/Model/PublicMultiStringPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicMultiStringPropertyOperation.php @@ -270,10 +270,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('values', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicNotAllFilterBranch.php b/codegen/Crm/Lists/Model/PublicNotAllFilterBranch.php index 24c3c644d..22e7d4d67 100644 --- a/codegen/Crm/Lists/Model/PublicNotAllFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicNotAllFilterBranch.php @@ -270,10 +270,10 @@ public function getFilterBranchTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'NOT_ALL'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicNotAnyFilterBranch.php b/codegen/Crm/Lists/Model/PublicNotAnyFilterBranch.php index 44a0b2e02..1c7431983 100644 --- a/codegen/Crm/Lists/Model/PublicNotAnyFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicNotAnyFilterBranch.php @@ -270,10 +270,10 @@ public function getFilterBranchTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'NOT_ANY'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicNowReference.php b/codegen/Crm/Lists/Model/PublicNowReference.php index b4a5101c0..e1f74ef83 100644 --- a/codegen/Crm/Lists/Model/PublicNowReference.php +++ b/codegen/Crm/Lists/Model/PublicNowReference.php @@ -276,10 +276,10 @@ public function getReferenceTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hour', $data ?? [], null); $this->setIfExists('millisecond', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicNumAssociationsFilter.php b/codegen/Crm/Lists/Model/PublicNumAssociationsFilter.php index 5387ed90c..5799893c6 100644 --- a/codegen/Crm/Lists/Model/PublicNumAssociationsFilter.php +++ b/codegen/Crm/Lists/Model/PublicNumAssociationsFilter.php @@ -270,10 +270,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('coalescing_refine_by', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicNumOccurrencesRefineBy.php b/codegen/Crm/Lists/Model/PublicNumOccurrencesRefineBy.php index 43db15c39..1df2e5adc 100644 --- a/codegen/Crm/Lists/Model/PublicNumOccurrencesRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicNumOccurrencesRefineBy.php @@ -264,10 +264,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('max_occurrences', $data ?? [], null); $this->setIfExists('type', $data ?? [], 'NUM_OCCURRENCES'); diff --git a/codegen/Crm/Lists/Model/PublicNumberPropertyOperation.php b/codegen/Crm/Lists/Model/PublicNumberPropertyOperation.php index b4d1a6c94..e7bb8196f 100644 --- a/codegen/Crm/Lists/Model/PublicNumberPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicNumberPropertyOperation.php @@ -270,10 +270,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('operation_type', $data ?? [], 'NUMBER'); diff --git a/codegen/Crm/Lists/Model/PublicObjectList.php b/codegen/Crm/Lists/Model/PublicObjectList.php index a03f09762..bb0ddcc08 100644 --- a/codegen/Crm/Lists/Model/PublicObjectList.php +++ b/codegen/Crm/Lists/Model/PublicObjectList.php @@ -317,10 +317,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('processing_type', $data ?? [], null); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicObjectListSearchResult.php b/codegen/Crm/Lists/Model/PublicObjectListSearchResult.php index 09c8dc6bd..4fa6eab80 100644 --- a/codegen/Crm/Lists/Model/PublicObjectListSearchResult.php +++ b/codegen/Crm/Lists/Model/PublicObjectListSearchResult.php @@ -311,10 +311,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('processing_type', $data ?? [], null); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicOrFilterBranch.php b/codegen/Crm/Lists/Model/PublicOrFilterBranch.php index 19c265150..3dbfc8f47 100644 --- a/codegen/Crm/Lists/Model/PublicOrFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicOrFilterBranch.php @@ -270,10 +270,10 @@ public function getFilterBranchTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'OR'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicPageViewAnalyticsFilter.php b/codegen/Crm/Lists/Model/PublicPageViewAnalyticsFilter.php index b6a85c638..cfb037ec4 100644 --- a/codegen/Crm/Lists/Model/PublicPageViewAnalyticsFilter.php +++ b/codegen/Crm/Lists/Model/PublicPageViewAnalyticsFilter.php @@ -282,10 +282,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('coalescing_refine_by', $data ?? [], null); $this->setIfExists('enable_tracking', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicPrivacyAnalyticsFilter.php b/codegen/Crm/Lists/Model/PublicPrivacyAnalyticsFilter.php index e83a59768..293dc4093 100644 --- a/codegen/Crm/Lists/Model/PublicPrivacyAnalyticsFilter.php +++ b/codegen/Crm/Lists/Model/PublicPrivacyAnalyticsFilter.php @@ -264,10 +264,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('privacy_name', $data ?? [], null); $this->setIfExists('filter_type', $data ?? [], 'PRIVACY'); diff --git a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranch.php b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranch.php index 85511e747..dbdcdeb26 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranch.php @@ -288,10 +288,10 @@ public function getFilterBranchTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'PROPERTY_ASSOCIATION'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFilterBranchesInner.php b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFilterBranchesInner.php index ada0f863c..a79b676f7 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFilterBranchesInner.php +++ b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFilterBranchesInner.php @@ -312,10 +312,10 @@ public function getFilterBranchTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'ASSOCIATION'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFiltersInner.php b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFiltersInner.php index 7db09aa7b..59c9750ac 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFiltersInner.php +++ b/codegen/Crm/Lists/Model/PublicPropertyAssociationFilterBranchFiltersInner.php @@ -516,10 +516,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('property', $data ?? [], null); $this->setIfExists('filter_type', $data ?? [], 'CONSTANT'); diff --git a/codegen/Crm/Lists/Model/PublicPropertyAssociationInListFilter.php b/codegen/Crm/Lists/Model/PublicPropertyAssociationInListFilter.php index b1f8054ee..2d73ba36a 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyAssociationInListFilter.php +++ b/codegen/Crm/Lists/Model/PublicPropertyAssociationInListFilter.php @@ -282,10 +282,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list_id', $data ?? [], null); $this->setIfExists('coalescing_refine_by', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicPropertyFilter.php b/codegen/Crm/Lists/Model/PublicPropertyFilter.php index 7a112de04..97ac8a801 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyFilter.php +++ b/codegen/Crm/Lists/Model/PublicPropertyFilter.php @@ -264,10 +264,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('property', $data ?? [], null); $this->setIfExists('filter_type', $data ?? [], 'PROPERTY'); diff --git a/codegen/Crm/Lists/Model/PublicPropertyReferencedTime.php b/codegen/Crm/Lists/Model/PublicPropertyReferencedTime.php index f363c5ba8..48baa8540 100644 --- a/codegen/Crm/Lists/Model/PublicPropertyReferencedTime.php +++ b/codegen/Crm/Lists/Model/PublicPropertyReferencedTime.php @@ -276,10 +276,10 @@ public function getTimeTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('timezone_source', $data ?? [], null); $this->setIfExists('property', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicQuarterReference.php b/codegen/Crm/Lists/Model/PublicQuarterReference.php index a0141d01e..395358561 100644 --- a/codegen/Crm/Lists/Model/PublicQuarterReference.php +++ b/codegen/Crm/Lists/Model/PublicQuarterReference.php @@ -288,10 +288,10 @@ public function getReferenceTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hour', $data ?? [], null); $this->setIfExists('month', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicRangedDatePropertyOperation.php b/codegen/Crm/Lists/Model/PublicRangedDatePropertyOperation.php index f0a4c695c..a8032328b 100644 --- a/codegen/Crm/Lists/Model/PublicRangedDatePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicRangedDatePropertyOperation.php @@ -282,10 +282,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('upper_bound', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicRangedNumberPropertyOperation.php b/codegen/Crm/Lists/Model/PublicRangedNumberPropertyOperation.php index 3c298291f..184f2f74c 100644 --- a/codegen/Crm/Lists/Model/PublicRangedNumberPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicRangedNumberPropertyOperation.php @@ -276,10 +276,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('upper_bound', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicRangedTimeOperation.php b/codegen/Crm/Lists/Model/PublicRangedTimeOperation.php index b889de338..38944c120 100644 --- a/codegen/Crm/Lists/Model/PublicRangedTimeOperation.php +++ b/codegen/Crm/Lists/Model/PublicRangedTimeOperation.php @@ -300,10 +300,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('upper_bound_endpoint_behavior', $data ?? [], null); $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicRelativeComparativeTimestampRefineBy.php b/codegen/Crm/Lists/Model/PublicRelativeComparativeTimestampRefineBy.php index ce14dc791..8dd61220f 100644 --- a/codegen/Crm/Lists/Model/PublicRelativeComparativeTimestampRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicRelativeComparativeTimestampRefineBy.php @@ -264,10 +264,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('comparison', $data ?? [], null); $this->setIfExists('time_offset', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicRelativeRangedTimestampRefineBy.php b/codegen/Crm/Lists/Model/PublicRelativeRangedTimestampRefineBy.php index d026a21d4..a1bbc2896 100644 --- a/codegen/Crm/Lists/Model/PublicRelativeRangedTimestampRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicRelativeRangedTimestampRefineBy.php @@ -270,10 +270,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('upper_bound_offset', $data ?? [], null); $this->setIfExists('range_type', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicRestrictedFilterBranch.php b/codegen/Crm/Lists/Model/PublicRestrictedFilterBranch.php index 7e9baa129..e92e0769a 100644 --- a/codegen/Crm/Lists/Model/PublicRestrictedFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicRestrictedFilterBranch.php @@ -270,10 +270,10 @@ public function getFilterBranchTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'RESTRICTED'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicRollingDateRangePropertyOperation.php b/codegen/Crm/Lists/Model/PublicRollingDateRangePropertyOperation.php index cae80245f..212d6e87c 100644 --- a/codegen/Crm/Lists/Model/PublicRollingDateRangePropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicRollingDateRangePropertyOperation.php @@ -276,10 +276,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('requires_time_zone_conversion', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicRollingPropertyUpdatedOperation.php b/codegen/Crm/Lists/Model/PublicRollingPropertyUpdatedOperation.php index 02d948563..d48d384bc 100644 --- a/codegen/Crm/Lists/Model/PublicRollingPropertyUpdatedOperation.php +++ b/codegen/Crm/Lists/Model/PublicRollingPropertyUpdatedOperation.php @@ -270,10 +270,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('operation_type', $data ?? [], 'ROLLING_PROPERTY_UPDATED'); diff --git a/codegen/Crm/Lists/Model/PublicSetOccurrencesRefineBy.php b/codegen/Crm/Lists/Model/PublicSetOccurrencesRefineBy.php index 3ba172ef2..df72bda03 100644 --- a/codegen/Crm/Lists/Model/PublicSetOccurrencesRefineBy.php +++ b/codegen/Crm/Lists/Model/PublicSetOccurrencesRefineBy.php @@ -258,10 +258,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], 'SET_OCCURRENCES'); $this->setIfExists('set_type', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicStringPropertyOperation.php b/codegen/Crm/Lists/Model/PublicStringPropertyOperation.php index ec52fb2da..fc78d6ae3 100644 --- a/codegen/Crm/Lists/Model/PublicStringPropertyOperation.php +++ b/codegen/Crm/Lists/Model/PublicStringPropertyOperation.php @@ -270,10 +270,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('operation_type', $data ?? [], 'STRING'); diff --git a/codegen/Crm/Lists/Model/PublicSurveyMonkeyFilter.php b/codegen/Crm/Lists/Model/PublicSurveyMonkeyFilter.php index c094cd0ed..e7bd9548b 100644 --- a/codegen/Crm/Lists/Model/PublicSurveyMonkeyFilter.php +++ b/codegen/Crm/Lists/Model/PublicSurveyMonkeyFilter.php @@ -264,10 +264,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('survey_id', $data ?? [], null); $this->setIfExists('filter_type', $data ?? [], 'SURVEY_MONKEY'); diff --git a/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilter.php b/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilter.php index ba0c086d2..8ee12e6ac 100644 --- a/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilter.php +++ b/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilter.php @@ -288,10 +288,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('value_comparison', $data ?? [], null); $this->setIfExists('survey_id', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilterValueComparison.php b/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilterValueComparison.php index 84cb81da1..543adace7 100644 --- a/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilterValueComparison.php +++ b/codegen/Crm/Lists/Model/PublicSurveyMonkeyValueFilterValueComparison.php @@ -430,10 +430,10 @@ public function getFiscalYearStartAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); $this->setIfExists('operation_type', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicTimeOffset.php b/codegen/Crm/Lists/Model/PublicTimeOffset.php index b3ba2a2da..67ab8f094 100644 --- a/codegen/Crm/Lists/Model/PublicTimeOffset.php +++ b/codegen/Crm/Lists/Model/PublicTimeOffset.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('amount', $data ?? [], null); $this->setIfExists('offset_direction', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicTimePointOperation.php b/codegen/Crm/Lists/Model/PublicTimePointOperation.php index 219f12341..382b1d911 100644 --- a/codegen/Crm/Lists/Model/PublicTimePointOperation.php +++ b/codegen/Crm/Lists/Model/PublicTimePointOperation.php @@ -288,10 +288,10 @@ public function getOperationTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('endpoint_behavior', $data ?? [], null); $this->setIfExists('include_objects_with_no_value_set', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicTimePointOperationTimePoint.php b/codegen/Crm/Lists/Model/PublicTimePointOperationTimePoint.php index 7dd3fdc43..6d7b295d9 100644 --- a/codegen/Crm/Lists/Model/PublicTimePointOperationTimePoint.php +++ b/codegen/Crm/Lists/Model/PublicTimePointOperationTimePoint.php @@ -330,10 +330,10 @@ public function getTimeTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('month', $data ?? [], null); $this->setIfExists('hour', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicTodayReference.php b/codegen/Crm/Lists/Model/PublicTodayReference.php index f7a62f365..5792afa4f 100644 --- a/codegen/Crm/Lists/Model/PublicTodayReference.php +++ b/codegen/Crm/Lists/Model/PublicTodayReference.php @@ -276,10 +276,10 @@ public function getReferenceTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hour', $data ?? [], null); $this->setIfExists('millisecond', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicUnifiedEventsFilter.php b/codegen/Crm/Lists/Model/PublicUnifiedEventsFilter.php index 36cc5b3ee..6ac3149e8 100644 --- a/codegen/Crm/Lists/Model/PublicUnifiedEventsFilter.php +++ b/codegen/Crm/Lists/Model/PublicUnifiedEventsFilter.php @@ -276,10 +276,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('coalescing_refine_by', $data ?? [], null); $this->setIfExists('event_type_id', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicUnifiedEventsFilterBranch.php b/codegen/Crm/Lists/Model/PublicUnifiedEventsFilterBranch.php index 1eb45e4f2..b6ad4151c 100644 --- a/codegen/Crm/Lists/Model/PublicUnifiedEventsFilterBranch.php +++ b/codegen/Crm/Lists/Model/PublicUnifiedEventsFilterBranch.php @@ -303,10 +303,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filter_branch_type', $data ?? [], 'UNIFIED_EVENTS'); $this->setIfExists('filter_branches', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicWebinarFilter.php b/codegen/Crm/Lists/Model/PublicWebinarFilter.php index 11af29d97..84682de51 100644 --- a/codegen/Crm/Lists/Model/PublicWebinarFilter.php +++ b/codegen/Crm/Lists/Model/PublicWebinarFilter.php @@ -264,10 +264,10 @@ public function getFilterTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('webinar_id', $data ?? [], null); $this->setIfExists('filter_type', $data ?? [], 'WEBINAR'); diff --git a/codegen/Crm/Lists/Model/PublicWeekReference.php b/codegen/Crm/Lists/Model/PublicWeekReference.php index d712ae1d2..d305eaa7d 100644 --- a/codegen/Crm/Lists/Model/PublicWeekReference.php +++ b/codegen/Crm/Lists/Model/PublicWeekReference.php @@ -307,10 +307,10 @@ public function getReferenceTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('day_of_week', $data ?? [], null); $this->setIfExists('hour', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/PublicYearReference.php b/codegen/Crm/Lists/Model/PublicYearReference.php index 4c16a007b..e7f895f3d 100644 --- a/codegen/Crm/Lists/Model/PublicYearReference.php +++ b/codegen/Crm/Lists/Model/PublicYearReference.php @@ -288,10 +288,10 @@ public function getReferenceTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hour', $data ?? [], null); $this->setIfExists('month', $data ?? [], null); diff --git a/codegen/Crm/Lists/Model/RecordListMembership.php b/codegen/Crm/Lists/Model/RecordListMembership.php index 478b32aa1..3a4f19aed 100644 --- a/codegen/Crm/Lists/Model/RecordListMembership.php +++ b/codegen/Crm/Lists/Model/RecordListMembership.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('list_id', $data ?? [], null); $this->setIfExists('list_version', $data ?? [], null); diff --git a/codegen/Crm/Objects/Api/BasicApi.php b/codegen/Crm/Objects/Api/BasicApi.php index 89ad69b80..4512fad97 100644 --- a/codegen/Crm/Objects/Api/BasicApi.php +++ b/codegen/Crm/Objects/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Api/BatchApi.php b/codegen/Crm/Objects/Api/BatchApi.php index 1458d5a7c..d05947a23 100644 --- a/codegen/Crm/Objects/Api/BatchApi.php +++ b/codegen/Crm/Objects/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Api/SearchApi.php b/codegen/Crm/Objects/Api/SearchApi.php index 35bd7370c..946bfd00c 100644 --- a/codegen/Crm/Objects/Api/SearchApi.php +++ b/codegen/Crm/Objects/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Api/BasicApi.php b/codegen/Crm/Objects/Calls/Api/BasicApi.php index 4558068c5..f224fec72 100644 --- a/codegen/Crm/Objects/Calls/Api/BasicApi.php +++ b/codegen/Crm/Objects/Calls/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Api/BatchApi.php b/codegen/Crm/Objects/Calls/Api/BatchApi.php index faf5d7847..e64e6c2e1 100644 --- a/codegen/Crm/Objects/Calls/Api/BatchApi.php +++ b/codegen/Crm/Objects/Calls/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Api/SearchApi.php b/codegen/Crm/Objects/Calls/Api/SearchApi.php index 09202fd96..24fe497b4 100644 --- a/codegen/Crm/Objects/Calls/Api/SearchApi.php +++ b/codegen/Crm/Objects/Calls/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Calls/Configuration.php b/codegen/Crm/Objects/Calls/Configuration.php index ea754e206..c66704676 100644 --- a/codegen/Crm/Objects/Calls/Configuration.php +++ b/codegen/Crm/Objects/Calls/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Calls/Model/AssociatedId.php b/codegen/Crm/Objects/Calls/Model/AssociatedId.php index c18b7a0b8..55d6183b8 100644 --- a/codegen/Crm/Objects/Calls/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Calls/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/AssociationSpec.php b/codegen/Crm/Objects/Calls/Model/AssociationSpec.php index 1d2752396..017d175b1 100644 --- a/codegen/Crm/Objects/Calls/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Calls/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInput.php index b52088f4a..620c6a02f 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index f549c9ed1..c4101de53 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectId.php index a80d74a8a..5093144c3 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectInputForCreate.php index 9bc5f9d26..d782bf06b 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Calls/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Calls/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Calls/Model/BatchReadInputSimplePublicObjectId.php index 3a70c2213..41d171124 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Calls/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObject.php index b80d0d6fc..889384007 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObjectWithErrors.php index f83017c16..734b6cbf5 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicUpsertObject.php index 54589082c..062858fa6 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 3d30eae1f..fe91ca53f 100644 --- a/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Calls/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Calls/Model/CollectionResponseAssociatedId.php index 6267b2c78..3430669be 100644 --- a/codegen/Crm/Objects/Calls/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Calls/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Calls/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 4e6659c82..4de8ac065 100644 --- a/codegen/Crm/Objects/Calls/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Calls/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Calls/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index bbda3cb2c..2e2a4701a 100644 --- a/codegen/Crm/Objects/Calls/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Calls/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/Error.php b/codegen/Crm/Objects/Calls/Model/Error.php index cf07fa0b1..0e4755999 100644 --- a/codegen/Crm/Objects/Calls/Model/Error.php +++ b/codegen/Crm/Objects/Calls/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/ErrorDetail.php b/codegen/Crm/Objects/Calls/Model/ErrorDetail.php index f05439803..9c3fad3f6 100644 --- a/codegen/Crm/Objects/Calls/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Calls/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/Filter.php b/codegen/Crm/Objects/Calls/Model/Filter.php index 47d152b4d..a9f866b1b 100644 --- a/codegen/Crm/Objects/Calls/Model/Filter.php +++ b/codegen/Crm/Objects/Calls/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/FilterGroup.php b/codegen/Crm/Objects/Calls/Model/FilterGroup.php index 612e9edc7..0486aaa0a 100644 --- a/codegen/Crm/Objects/Calls/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Calls/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Calls/Model/ForwardPaging.php b/codegen/Crm/Objects/Calls/Model/ForwardPaging.php index 60c39b1b6..5270a63a5 100644 --- a/codegen/Crm/Objects/Calls/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Calls/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Calls/Model/NextPage.php b/codegen/Crm/Objects/Calls/Model/NextPage.php index e8ca60bfc..23b247af1 100644 --- a/codegen/Crm/Objects/Calls/Model/NextPage.php +++ b/codegen/Crm/Objects/Calls/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/Paging.php b/codegen/Crm/Objects/Calls/Model/Paging.php index 15a2452f7..c4d30ec47 100644 --- a/codegen/Crm/Objects/Calls/Model/Paging.php +++ b/codegen/Crm/Objects/Calls/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/PreviousPage.php b/codegen/Crm/Objects/Calls/Model/PreviousPage.php index aac4a025f..046357e3a 100644 --- a/codegen/Crm/Objects/Calls/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Calls/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Calls/Model/PublicAssociationsForObject.php index 80906a37b..6b196c837 100644 --- a/codegen/Crm/Objects/Calls/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Calls/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/PublicObjectId.php b/codegen/Crm/Objects/Calls/Model/PublicObjectId.php index 163834b65..1b6e6ce9f 100644 --- a/codegen/Crm/Objects/Calls/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Calls/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Calls/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Calls/Model/PublicObjectSearchRequest.php index 30dfdf872..7af33927d 100644 --- a/codegen/Crm/Objects/Calls/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Calls/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObject.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObject.php index 3d29a4d7e..c41554a70 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInput.php index 388a2a1c7..acf3e7364 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInputUpsert.php index b7dc5974c..9f0100f77 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectId.php index ac5600718..b9ae08037 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInput.php index 90e4daabb..df5493c70 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInputForCreate.php index 6b4829df0..d946fa61b 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectWithAssociations.php index 986a54b18..761e13154 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Calls/Model/SimplePublicUpsertObject.php index 88138e575..63acfde5a 100644 --- a/codegen/Crm/Objects/Calls/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Calls/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/StandardError.php b/codegen/Crm/Objects/Calls/Model/StandardError.php index 11db79de9..ad347745c 100644 --- a/codegen/Crm/Objects/Calls/Model/StandardError.php +++ b/codegen/Crm/Objects/Calls/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Calls/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Calls/Model/ValueWithTimestamp.php index fd92b5d80..c171e6152 100644 --- a/codegen/Crm/Objects/Calls/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Calls/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Api/BasicApi.php b/codegen/Crm/Objects/Communications/Api/BasicApi.php index 1301d9311..f2691dd7a 100644 --- a/codegen/Crm/Objects/Communications/Api/BasicApi.php +++ b/codegen/Crm/Objects/Communications/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Communications/Api/BatchApi.php b/codegen/Crm/Objects/Communications/Api/BatchApi.php index c694f2ad8..f77acdc2c 100644 --- a/codegen/Crm/Objects/Communications/Api/BatchApi.php +++ b/codegen/Crm/Objects/Communications/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Communications/Api/SearchApi.php b/codegen/Crm/Objects/Communications/Api/SearchApi.php index 9ff8af850..7eec7c26f 100644 --- a/codegen/Crm/Objects/Communications/Api/SearchApi.php +++ b/codegen/Crm/Objects/Communications/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Communications/Configuration.php b/codegen/Crm/Objects/Communications/Configuration.php index 2cee15c76..d94fddfcc 100644 --- a/codegen/Crm/Objects/Communications/Configuration.php +++ b/codegen/Crm/Objects/Communications/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Communications/Model/AssociatedId.php b/codegen/Crm/Objects/Communications/Model/AssociatedId.php index c28528e2b..273eb66b8 100644 --- a/codegen/Crm/Objects/Communications/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Communications/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/AssociationSpec.php b/codegen/Crm/Objects/Communications/Model/AssociationSpec.php index 034e71053..51bf15506 100644 --- a/codegen/Crm/Objects/Communications/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Communications/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInput.php index eef2cd567..6a3cf9dcf 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 8dae8d09d..226357c61 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectId.php index eddd9ef5f..05c57a0da 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectInputForCreate.php index 031c67f4c..463a0cba0 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Communications/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Communications/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Communications/Model/BatchReadInputSimplePublicObjectId.php index 0931e4795..7606a9225 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Communications/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObject.php index 96b7ccb4b..cb9533726 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObjectWithErrors.php index f97a32863..877e84fa3 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicUpsertObject.php index c4c5b9bff..755461b5b 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index c7e2abaa8..16e274d25 100644 --- a/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Communications/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Communications/Model/CollectionResponseAssociatedId.php index ca70841f6..b0183f357 100644 --- a/codegen/Crm/Objects/Communications/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Communications/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Communications/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 4904e6718..95821ab86 100644 --- a/codegen/Crm/Objects/Communications/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Communications/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Communications/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 3ea8b3c6f..4d472028f 100644 --- a/codegen/Crm/Objects/Communications/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Communications/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/Error.php b/codegen/Crm/Objects/Communications/Model/Error.php index 0fcd77498..f3817d36b 100644 --- a/codegen/Crm/Objects/Communications/Model/Error.php +++ b/codegen/Crm/Objects/Communications/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/ErrorDetail.php b/codegen/Crm/Objects/Communications/Model/ErrorDetail.php index 0786789f5..75dd87276 100644 --- a/codegen/Crm/Objects/Communications/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Communications/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/Filter.php b/codegen/Crm/Objects/Communications/Model/Filter.php index c427120da..59b813000 100644 --- a/codegen/Crm/Objects/Communications/Model/Filter.php +++ b/codegen/Crm/Objects/Communications/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/FilterGroup.php b/codegen/Crm/Objects/Communications/Model/FilterGroup.php index aefdceca6..7d2a0f903 100644 --- a/codegen/Crm/Objects/Communications/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Communications/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Communications/Model/ForwardPaging.php b/codegen/Crm/Objects/Communications/Model/ForwardPaging.php index c462128ef..7327b21e1 100644 --- a/codegen/Crm/Objects/Communications/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Communications/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Communications/Model/NextPage.php b/codegen/Crm/Objects/Communications/Model/NextPage.php index f5ca20a1b..84512c874 100644 --- a/codegen/Crm/Objects/Communications/Model/NextPage.php +++ b/codegen/Crm/Objects/Communications/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/Paging.php b/codegen/Crm/Objects/Communications/Model/Paging.php index 4b7012601..ee0abcc54 100644 --- a/codegen/Crm/Objects/Communications/Model/Paging.php +++ b/codegen/Crm/Objects/Communications/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/PreviousPage.php b/codegen/Crm/Objects/Communications/Model/PreviousPage.php index 1cb571e33..345badaeb 100644 --- a/codegen/Crm/Objects/Communications/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Communications/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Communications/Model/PublicAssociationsForObject.php index 238a7d821..54d81d294 100644 --- a/codegen/Crm/Objects/Communications/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Communications/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/PublicObjectId.php b/codegen/Crm/Objects/Communications/Model/PublicObjectId.php index ad42f3c72..45e466b41 100644 --- a/codegen/Crm/Objects/Communications/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Communications/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Communications/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Communications/Model/PublicObjectSearchRequest.php index 6625f64ee..20561ba80 100644 --- a/codegen/Crm/Objects/Communications/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Communications/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObject.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObject.php index c314bd8ae..5b593b1d0 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInput.php index 2904fbbe8..9b4390750 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInputUpsert.php index 39eef18bc..5d8e5ec62 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectId.php index 4bf5d3535..4657df7a7 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInput.php index 203fd3e96..8939ed512 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInputForCreate.php index 5e42c7a22..3c406ffc7 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectWithAssociations.php index 5458ff22a..ccde987ce 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Communications/Model/SimplePublicUpsertObject.php index 1084e0b1c..506115381 100644 --- a/codegen/Crm/Objects/Communications/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Communications/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/StandardError.php b/codegen/Crm/Objects/Communications/Model/StandardError.php index f3eae5f59..11f5e3c53 100644 --- a/codegen/Crm/Objects/Communications/Model/StandardError.php +++ b/codegen/Crm/Objects/Communications/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Communications/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Communications/Model/ValueWithTimestamp.php index 1e8736443..30aefeec9 100644 --- a/codegen/Crm/Objects/Communications/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Communications/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Configuration.php b/codegen/Crm/Objects/Configuration.php index c8183effe..1ef3aeabd 100644 --- a/codegen/Crm/Objects/Configuration.php +++ b/codegen/Crm/Objects/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Emails/Api/BasicApi.php b/codegen/Crm/Objects/Emails/Api/BasicApi.php index 88007ede2..0d5256574 100644 --- a/codegen/Crm/Objects/Emails/Api/BasicApi.php +++ b/codegen/Crm/Objects/Emails/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Emails/Api/BatchApi.php b/codegen/Crm/Objects/Emails/Api/BatchApi.php index 604e38fa6..2c8bd3c17 100644 --- a/codegen/Crm/Objects/Emails/Api/BatchApi.php +++ b/codegen/Crm/Objects/Emails/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Emails/Api/SearchApi.php b/codegen/Crm/Objects/Emails/Api/SearchApi.php index 4a3e33d9d..85a77b10c 100644 --- a/codegen/Crm/Objects/Emails/Api/SearchApi.php +++ b/codegen/Crm/Objects/Emails/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Emails/Configuration.php b/codegen/Crm/Objects/Emails/Configuration.php index 7d1e4d86d..dc22ace55 100644 --- a/codegen/Crm/Objects/Emails/Configuration.php +++ b/codegen/Crm/Objects/Emails/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Emails/Model/AssociatedId.php b/codegen/Crm/Objects/Emails/Model/AssociatedId.php index 43fe80b6a..dd3b859e2 100644 --- a/codegen/Crm/Objects/Emails/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Emails/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/AssociationSpec.php b/codegen/Crm/Objects/Emails/Model/AssociationSpec.php index 70eae8f9d..06d224142 100644 --- a/codegen/Crm/Objects/Emails/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Emails/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInput.php index 651976914..4f6384059 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index f7e88a622..567d361cb 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectId.php index de72387e6..c743920e7 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectInputForCreate.php index 8162d22d7..a526da67e 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Emails/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Emails/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Emails/Model/BatchReadInputSimplePublicObjectId.php index 950eaa0c9..a04ef4515 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Emails/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObject.php index 65a4e57a1..87f07d6c6 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObjectWithErrors.php index 47b085d3a..b56859439 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicUpsertObject.php index 6799355e0..969b7599b 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 5fc00e926..b853fcb16 100644 --- a/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Emails/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Emails/Model/CollectionResponseAssociatedId.php index 592640366..cbb92c009 100644 --- a/codegen/Crm/Objects/Emails/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Emails/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Emails/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 514819b2b..41aab5468 100644 --- a/codegen/Crm/Objects/Emails/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Emails/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Emails/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 5915b8f22..76afc5508 100644 --- a/codegen/Crm/Objects/Emails/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Emails/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/Error.php b/codegen/Crm/Objects/Emails/Model/Error.php index bf4130afc..4e88e73b6 100644 --- a/codegen/Crm/Objects/Emails/Model/Error.php +++ b/codegen/Crm/Objects/Emails/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/ErrorDetail.php b/codegen/Crm/Objects/Emails/Model/ErrorDetail.php index 0c302d891..a2d00a20c 100644 --- a/codegen/Crm/Objects/Emails/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Emails/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/Filter.php b/codegen/Crm/Objects/Emails/Model/Filter.php index 4c93fd126..b841a9f88 100644 --- a/codegen/Crm/Objects/Emails/Model/Filter.php +++ b/codegen/Crm/Objects/Emails/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/FilterGroup.php b/codegen/Crm/Objects/Emails/Model/FilterGroup.php index 2cf429b72..61f61fe30 100644 --- a/codegen/Crm/Objects/Emails/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Emails/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Emails/Model/ForwardPaging.php b/codegen/Crm/Objects/Emails/Model/ForwardPaging.php index d6b1ba1b7..c91523642 100644 --- a/codegen/Crm/Objects/Emails/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Emails/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Emails/Model/NextPage.php b/codegen/Crm/Objects/Emails/Model/NextPage.php index d1d635ed0..3e47ed848 100644 --- a/codegen/Crm/Objects/Emails/Model/NextPage.php +++ b/codegen/Crm/Objects/Emails/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/Paging.php b/codegen/Crm/Objects/Emails/Model/Paging.php index 4bb169d1e..8b0bae875 100644 --- a/codegen/Crm/Objects/Emails/Model/Paging.php +++ b/codegen/Crm/Objects/Emails/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/PreviousPage.php b/codegen/Crm/Objects/Emails/Model/PreviousPage.php index 249006f7e..0c0177d83 100644 --- a/codegen/Crm/Objects/Emails/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Emails/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Emails/Model/PublicAssociationsForObject.php index 98baafe99..6ed389fb6 100644 --- a/codegen/Crm/Objects/Emails/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Emails/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/PublicObjectId.php b/codegen/Crm/Objects/Emails/Model/PublicObjectId.php index dc2f261e6..2f963eca3 100644 --- a/codegen/Crm/Objects/Emails/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Emails/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Emails/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Emails/Model/PublicObjectSearchRequest.php index caa3499a0..a710cabe3 100644 --- a/codegen/Crm/Objects/Emails/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Emails/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObject.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObject.php index 74b5e79d5..d9373189d 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInput.php index d7b54a2ab..b29d41073 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInputUpsert.php index 7b642fbcc..606fba40a 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectId.php index ac74659a9..a901deb4b 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInput.php index a3928c082..23aa5acca 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInputForCreate.php index 6c8e3b22e..68f37863c 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectWithAssociations.php index 22d7318ed..de1f4e3b0 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Emails/Model/SimplePublicUpsertObject.php index d6e036b65..6c173602a 100644 --- a/codegen/Crm/Objects/Emails/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Emails/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/StandardError.php b/codegen/Crm/Objects/Emails/Model/StandardError.php index 245c6d054..e1c1e5339 100644 --- a/codegen/Crm/Objects/Emails/Model/StandardError.php +++ b/codegen/Crm/Objects/Emails/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Emails/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Emails/Model/ValueWithTimestamp.php index e5b6e6b31..02e1661f4 100644 --- a/codegen/Crm/Objects/Emails/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Emails/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Api/BasicApi.php b/codegen/Crm/Objects/FeedbackSubmissions/Api/BasicApi.php index b7228f9fe..2a0eb3bef 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Api/BasicApi.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Api/BasicApi.php @@ -80,15 +80,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Api/BatchApi.php b/codegen/Crm/Objects/FeedbackSubmissions/Api/BatchApi.php index e90b771d5..2d640077d 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Api/BatchApi.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Api/BatchApi.php @@ -77,15 +77,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Api/SearchApi.php b/codegen/Crm/Objects/FeedbackSubmissions/Api/SearchApi.php index 368e04432..f8eb895d7 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Api/SearchApi.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Configuration.php b/codegen/Crm/Objects/FeedbackSubmissions/Configuration.php index ea389d3ad..86473b9db 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Configuration.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociatedId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociatedId.php index 322f781fd..5417bbbdd 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociatedId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchReadInputSimplePublicObjectId.php index 5780c661a..bf25beb01 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObject.php index 42f61a034..25f1113aa 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObjectWithErrors.php index c3075e31a..05e18153c 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseAssociatedId.php index 3a1a954f3..59a0b3d78 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 5d06e29fc..4a759455f 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 8212f5fbe..2761a3ab7 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/Error.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/Error.php index 8e63c47d2..0b3ddebf3 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/Error.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/ErrorDetail.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/ErrorDetail.php index 5512f4abe..7a0b090ff 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/Filter.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/Filter.php index 9487b6820..5aa61fee9 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/Filter.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/FilterGroup.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/FilterGroup.php index 149e1d23c..442b23879 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/FilterGroup.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/ForwardPaging.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/ForwardPaging.php index 8cd423b6e..e697e2490 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/NextPage.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/NextPage.php index d83a3d07d..82fc70f50 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/NextPage.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/Paging.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/Paging.php index 04775fdc1..967cab790 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/Paging.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/PreviousPage.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/PreviousPage.php index ba74bbf42..58e7e4229 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/PreviousPage.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectSearchRequest.php index 9d6a98b78..f49697806 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObject.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObject.php index 1e6ef1ad6..c8f66b785 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectId.php index 4b8114c40..b0a107cfe 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectWithAssociations.php index 81b084fa4..34459f9de 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/StandardError.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/StandardError.php index 7acfec824..04bf5ebe2 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/StandardError.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/FeedbackSubmissions/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/FeedbackSubmissions/Model/ValueWithTimestamp.php index b6a065eee..abdddf0f6 100644 --- a/codegen/Crm/Objects/FeedbackSubmissions/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/FeedbackSubmissions/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Api/BasicApi.php b/codegen/Crm/Objects/Goals/Api/BasicApi.php index 00c510c10..e2539252b 100644 --- a/codegen/Crm/Objects/Goals/Api/BasicApi.php +++ b/codegen/Crm/Objects/Goals/Api/BasicApi.php @@ -80,15 +80,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Goals/Api/BatchApi.php b/codegen/Crm/Objects/Goals/Api/BatchApi.php index 88b0b4d9e..0c2b87637 100644 --- a/codegen/Crm/Objects/Goals/Api/BatchApi.php +++ b/codegen/Crm/Objects/Goals/Api/BatchApi.php @@ -77,15 +77,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Goals/Api/SearchApi.php b/codegen/Crm/Objects/Goals/Api/SearchApi.php index 688be4dfa..f68be0767 100644 --- a/codegen/Crm/Objects/Goals/Api/SearchApi.php +++ b/codegen/Crm/Objects/Goals/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Goals/Configuration.php b/codegen/Crm/Objects/Goals/Configuration.php index bd9d4c633..c50b22db8 100644 --- a/codegen/Crm/Objects/Goals/Configuration.php +++ b/codegen/Crm/Objects/Goals/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Goals/Model/AssociatedId.php b/codegen/Crm/Objects/Goals/Model/AssociatedId.php index 7226439a8..d009df9de 100644 --- a/codegen/Crm/Objects/Goals/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Goals/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Goals/Model/BatchReadInputSimplePublicObjectId.php index 6e3b4559f..223c3e991 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Goals/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObject.php index d881f4376..346d745bd 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObjectWithErrors.php index 785c6d173..9250d0d3b 100644 --- a/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Goals/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Goals/Model/CollectionResponseAssociatedId.php index 28db868db..fdd2d0788 100644 --- a/codegen/Crm/Objects/Goals/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Goals/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Goals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 2f52ddcce..7328d4822 100644 --- a/codegen/Crm/Objects/Goals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Goals/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Goals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index b652e4e5b..a78519c8a 100644 --- a/codegen/Crm/Objects/Goals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Goals/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/Error.php b/codegen/Crm/Objects/Goals/Model/Error.php index 8453667b9..a8a5e900b 100644 --- a/codegen/Crm/Objects/Goals/Model/Error.php +++ b/codegen/Crm/Objects/Goals/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/ErrorDetail.php b/codegen/Crm/Objects/Goals/Model/ErrorDetail.php index 4487380d6..920351198 100644 --- a/codegen/Crm/Objects/Goals/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Goals/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/Filter.php b/codegen/Crm/Objects/Goals/Model/Filter.php index 066861d2e..10ede4c9c 100644 --- a/codegen/Crm/Objects/Goals/Model/Filter.php +++ b/codegen/Crm/Objects/Goals/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/FilterGroup.php b/codegen/Crm/Objects/Goals/Model/FilterGroup.php index 0ebb4822a..ee971e985 100644 --- a/codegen/Crm/Objects/Goals/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Goals/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Goals/Model/ForwardPaging.php b/codegen/Crm/Objects/Goals/Model/ForwardPaging.php index d4f93f47a..8e79dbd8a 100644 --- a/codegen/Crm/Objects/Goals/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Goals/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Goals/Model/NextPage.php b/codegen/Crm/Objects/Goals/Model/NextPage.php index e3007ac95..6d92585e7 100644 --- a/codegen/Crm/Objects/Goals/Model/NextPage.php +++ b/codegen/Crm/Objects/Goals/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/Paging.php b/codegen/Crm/Objects/Goals/Model/Paging.php index 3b78eede3..3c4b5d493 100644 --- a/codegen/Crm/Objects/Goals/Model/Paging.php +++ b/codegen/Crm/Objects/Goals/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/PreviousPage.php b/codegen/Crm/Objects/Goals/Model/PreviousPage.php index 23804080b..65feb0f12 100644 --- a/codegen/Crm/Objects/Goals/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Goals/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Goals/Model/PublicObjectSearchRequest.php index 2430dea20..a720d0cc0 100644 --- a/codegen/Crm/Objects/Goals/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Goals/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObject.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObject.php index f1e0f0b0c..70c6a64ca 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectId.php index 2674986e2..94cc7efa8 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectWithAssociations.php index e44aebcc8..b0b45d518 100644 --- a/codegen/Crm/Objects/Goals/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Goals/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/StandardError.php b/codegen/Crm/Objects/Goals/Model/StandardError.php index bd0e7b78c..a1b4d14f7 100644 --- a/codegen/Crm/Objects/Goals/Model/StandardError.php +++ b/codegen/Crm/Objects/Goals/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Goals/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Goals/Model/ValueWithTimestamp.php index 7a5fc30af..e62ab29fc 100644 --- a/codegen/Crm/Objects/Goals/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Goals/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Api/BasicApi.php b/codegen/Crm/Objects/Leads/Api/BasicApi.php index 9c26c929b..39c38c3d7 100644 --- a/codegen/Crm/Objects/Leads/Api/BasicApi.php +++ b/codegen/Crm/Objects/Leads/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Leads/Api/BatchApi.php b/codegen/Crm/Objects/Leads/Api/BatchApi.php index a0bf8342d..15406c0cf 100644 --- a/codegen/Crm/Objects/Leads/Api/BatchApi.php +++ b/codegen/Crm/Objects/Leads/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Leads/Api/SearchApi.php b/codegen/Crm/Objects/Leads/Api/SearchApi.php index a66f5e198..9f86eb94b 100644 --- a/codegen/Crm/Objects/Leads/Api/SearchApi.php +++ b/codegen/Crm/Objects/Leads/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Leads/Configuration.php b/codegen/Crm/Objects/Leads/Configuration.php index 0ca9b3392..3d482bea6 100644 --- a/codegen/Crm/Objects/Leads/Configuration.php +++ b/codegen/Crm/Objects/Leads/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Leads/Model/AssociatedId.php b/codegen/Crm/Objects/Leads/Model/AssociatedId.php index 2783b9906..0ad1298fd 100644 --- a/codegen/Crm/Objects/Leads/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Leads/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/AssociationSpec.php b/codegen/Crm/Objects/Leads/Model/AssociationSpec.php index 54a6c8436..8d2a03767 100644 --- a/codegen/Crm/Objects/Leads/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Leads/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectBatchInput.php index 54f680032..172ac74df 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 3573afaed..874a2f3f8 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectId.php index 3ff4eb5e6..1fdbcdc4b 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectInputForCreate.php index e5f5d6a12..dc1470ff8 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Leads/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Leads/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Leads/Model/BatchReadInputSimplePublicObjectId.php index 2d700471c..73368e716 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Leads/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicObject.php index cc586b638..5f821a2e2 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicObjectWithErrors.php index c4fafd323..72825943a 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicUpsertObject.php index bd10b2488..b621134c8 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 6e3662847..6888e433c 100644 --- a/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Leads/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Leads/Model/CollectionResponseAssociatedId.php index b19e9b8dc..9d363b475 100644 --- a/codegen/Crm/Objects/Leads/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Leads/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Leads/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 0e25e9415..9d1c4f445 100644 --- a/codegen/Crm/Objects/Leads/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Leads/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Leads/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index a2901a48f..003290fa4 100644 --- a/codegen/Crm/Objects/Leads/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Leads/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/Error.php b/codegen/Crm/Objects/Leads/Model/Error.php index e9e4a58f2..a89c02d74 100644 --- a/codegen/Crm/Objects/Leads/Model/Error.php +++ b/codegen/Crm/Objects/Leads/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/ErrorDetail.php b/codegen/Crm/Objects/Leads/Model/ErrorDetail.php index 32f85e08f..a12786f42 100644 --- a/codegen/Crm/Objects/Leads/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Leads/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/Filter.php b/codegen/Crm/Objects/Leads/Model/Filter.php index 324588af2..8f2711dd6 100644 --- a/codegen/Crm/Objects/Leads/Model/Filter.php +++ b/codegen/Crm/Objects/Leads/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/FilterGroup.php b/codegen/Crm/Objects/Leads/Model/FilterGroup.php index ceb4e1e42..585ed5555 100644 --- a/codegen/Crm/Objects/Leads/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Leads/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Leads/Model/ForwardPaging.php b/codegen/Crm/Objects/Leads/Model/ForwardPaging.php index b84871a25..dbe4e5e18 100644 --- a/codegen/Crm/Objects/Leads/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Leads/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Leads/Model/NextPage.php b/codegen/Crm/Objects/Leads/Model/NextPage.php index e66dc44b0..3256bba46 100644 --- a/codegen/Crm/Objects/Leads/Model/NextPage.php +++ b/codegen/Crm/Objects/Leads/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/Paging.php b/codegen/Crm/Objects/Leads/Model/Paging.php index ed07b3f3c..8fbfa2d21 100644 --- a/codegen/Crm/Objects/Leads/Model/Paging.php +++ b/codegen/Crm/Objects/Leads/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/PreviousPage.php b/codegen/Crm/Objects/Leads/Model/PreviousPage.php index e1f1a5fbd..aa2c6d00f 100644 --- a/codegen/Crm/Objects/Leads/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Leads/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Leads/Model/PublicAssociationsForObject.php index 1c32b2ac4..a6e7525d0 100644 --- a/codegen/Crm/Objects/Leads/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Leads/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/PublicObjectId.php b/codegen/Crm/Objects/Leads/Model/PublicObjectId.php index f2f9fb880..800d51bdd 100644 --- a/codegen/Crm/Objects/Leads/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Leads/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Leads/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Leads/Model/PublicObjectSearchRequest.php index 359b67c70..4492c980e 100644 --- a/codegen/Crm/Objects/Leads/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Leads/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/SimplePublicObject.php b/codegen/Crm/Objects/Leads/Model/SimplePublicObject.php index aed364f85..f1bbbeb3f 100644 --- a/codegen/Crm/Objects/Leads/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Leads/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectBatchInput.php index a1a0e83f0..704a423f3 100644 --- a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectBatchInputUpsert.php index 91b7fc34b..44db402a6 100644 --- a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectId.php index 059275d28..0bb75ea7e 100644 --- a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectInput.php index 9c4d44ad2..9ba054747 100644 --- a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectInputForCreate.php index 2222e6d03..a8f92e337 100644 --- a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectWithAssociations.php index c61bbdecf..3c2f4b4c6 100644 --- a/codegen/Crm/Objects/Leads/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Leads/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Leads/Model/SimplePublicUpsertObject.php index 812891a28..506c90bfd 100644 --- a/codegen/Crm/Objects/Leads/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Leads/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/StandardError.php b/codegen/Crm/Objects/Leads/Model/StandardError.php index 87e660c10..4a380cc33 100644 --- a/codegen/Crm/Objects/Leads/Model/StandardError.php +++ b/codegen/Crm/Objects/Leads/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Leads/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Leads/Model/ValueWithTimestamp.php index e81713a17..4ff607d88 100644 --- a/codegen/Crm/Objects/Leads/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Leads/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Api/BasicApi.php b/codegen/Crm/Objects/Meetings/Api/BasicApi.php index 4a1d4a27d..71b3adc3a 100644 --- a/codegen/Crm/Objects/Meetings/Api/BasicApi.php +++ b/codegen/Crm/Objects/Meetings/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Meetings/Api/BatchApi.php b/codegen/Crm/Objects/Meetings/Api/BatchApi.php index 28f9aff6f..5c81aabae 100644 --- a/codegen/Crm/Objects/Meetings/Api/BatchApi.php +++ b/codegen/Crm/Objects/Meetings/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Meetings/Api/SearchApi.php b/codegen/Crm/Objects/Meetings/Api/SearchApi.php index c45174554..c1bd12bee 100644 --- a/codegen/Crm/Objects/Meetings/Api/SearchApi.php +++ b/codegen/Crm/Objects/Meetings/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Meetings/Configuration.php b/codegen/Crm/Objects/Meetings/Configuration.php index 296b091f2..8b85c95ea 100644 --- a/codegen/Crm/Objects/Meetings/Configuration.php +++ b/codegen/Crm/Objects/Meetings/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Meetings/Model/AssociatedId.php b/codegen/Crm/Objects/Meetings/Model/AssociatedId.php index 32f5d0b94..f2643d802 100644 --- a/codegen/Crm/Objects/Meetings/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Meetings/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/AssociationSpec.php b/codegen/Crm/Objects/Meetings/Model/AssociationSpec.php index f1ea92ae0..fe2949dd2 100644 --- a/codegen/Crm/Objects/Meetings/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Meetings/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInput.php index 66c6c8cf9..137bc45ef 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 841954ef8..7d1c7050b 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectId.php index e75de2e4c..8b164817a 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectInputForCreate.php index 9728674e4..00fb87a5c 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Meetings/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Meetings/Model/BatchReadInputSimplePublicObjectId.php index e6b8ff2df..0d92df25b 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObject.php index f2769e0e6..e8359c3dd 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObjectWithErrors.php index 5c31780bc..c9290b40a 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicUpsertObject.php index ccd05a704..dedbc9a85 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index d30797629..af4febebd 100644 --- a/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Meetings/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Meetings/Model/CollectionResponseAssociatedId.php index 8998739ff..2401dea10 100644 --- a/codegen/Crm/Objects/Meetings/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Meetings/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Meetings/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 71c139c5a..9b2238b98 100644 --- a/codegen/Crm/Objects/Meetings/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Meetings/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Meetings/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index affcd7c33..f08821966 100644 --- a/codegen/Crm/Objects/Meetings/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Meetings/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/Error.php b/codegen/Crm/Objects/Meetings/Model/Error.php index 81a18ef55..d03e82f2a 100644 --- a/codegen/Crm/Objects/Meetings/Model/Error.php +++ b/codegen/Crm/Objects/Meetings/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/ErrorDetail.php b/codegen/Crm/Objects/Meetings/Model/ErrorDetail.php index 09b56763e..bb5a702cc 100644 --- a/codegen/Crm/Objects/Meetings/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Meetings/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/Filter.php b/codegen/Crm/Objects/Meetings/Model/Filter.php index 60d066f72..b2baf1d0f 100644 --- a/codegen/Crm/Objects/Meetings/Model/Filter.php +++ b/codegen/Crm/Objects/Meetings/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/FilterGroup.php b/codegen/Crm/Objects/Meetings/Model/FilterGroup.php index 2e4b9d876..99931b25c 100644 --- a/codegen/Crm/Objects/Meetings/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Meetings/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Meetings/Model/ForwardPaging.php b/codegen/Crm/Objects/Meetings/Model/ForwardPaging.php index f8f4bfc72..d5eb90015 100644 --- a/codegen/Crm/Objects/Meetings/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Meetings/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Meetings/Model/NextPage.php b/codegen/Crm/Objects/Meetings/Model/NextPage.php index ef136e462..dd23c123b 100644 --- a/codegen/Crm/Objects/Meetings/Model/NextPage.php +++ b/codegen/Crm/Objects/Meetings/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/Paging.php b/codegen/Crm/Objects/Meetings/Model/Paging.php index 854328037..c78f7e7cc 100644 --- a/codegen/Crm/Objects/Meetings/Model/Paging.php +++ b/codegen/Crm/Objects/Meetings/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/PreviousPage.php b/codegen/Crm/Objects/Meetings/Model/PreviousPage.php index a0eb8abff..27e2ea024 100644 --- a/codegen/Crm/Objects/Meetings/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Meetings/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Meetings/Model/PublicAssociationsForObject.php index b7255a224..35b7f5157 100644 --- a/codegen/Crm/Objects/Meetings/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Meetings/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/PublicObjectId.php b/codegen/Crm/Objects/Meetings/Model/PublicObjectId.php index a1cfcfbd5..1366f2764 100644 --- a/codegen/Crm/Objects/Meetings/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Meetings/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Meetings/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Meetings/Model/PublicObjectSearchRequest.php index 12d4d288d..0453b4dc8 100644 --- a/codegen/Crm/Objects/Meetings/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Meetings/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObject.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObject.php index 4c6cf235e..36c8b70d9 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInput.php index 6c91192e2..70047e496 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInputUpsert.php index 8dfd117b2..48395d601 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectId.php index 6653b9283..2709a3e8a 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInput.php index 63d7c2510..d03404906 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInputForCreate.php index 3cf5f78f8..c11397cc9 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectWithAssociations.php index 15cda13bf..8f57dab85 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Meetings/Model/SimplePublicUpsertObject.php index 4814365f3..0b40fce10 100644 --- a/codegen/Crm/Objects/Meetings/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Meetings/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/StandardError.php b/codegen/Crm/Objects/Meetings/Model/StandardError.php index f94b6fb6a..0f93c7360 100644 --- a/codegen/Crm/Objects/Meetings/Model/StandardError.php +++ b/codegen/Crm/Objects/Meetings/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Meetings/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Meetings/Model/ValueWithTimestamp.php index d1eeb9060..9f6cd42b8 100644 --- a/codegen/Crm/Objects/Meetings/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Meetings/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/AssociatedId.php b/codegen/Crm/Objects/Model/AssociatedId.php index cd76c0b94..cbb3c7b62 100644 --- a/codegen/Crm/Objects/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/AssociationSpec.php b/codegen/Crm/Objects/Model/AssociationSpec.php index 3b85b4cb2..52006cd2a 100644 --- a/codegen/Crm/Objects/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInput.php index aae5b618c..4348cf863 100644 --- a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 42f9c2157..c7a6d5ab2 100644 --- a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectId.php index ddcc5f239..2769e4032 100644 --- a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectInputForCreate.php index 8bd41b4be..b8163b14e 100644 --- a/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Model/BatchReadInputSimplePublicObjectId.php index 40b8dc625..6f1ad21f3 100644 --- a/codegen/Crm/Objects/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Model/BatchResponseSimplePublicObject.php index 3e83c2831..a389015de 100644 --- a/codegen/Crm/Objects/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Model/BatchResponseSimplePublicObjectWithErrors.php index e9d8c0556..9cd673b4b 100644 --- a/codegen/Crm/Objects/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Model/BatchResponseSimplePublicUpsertObject.php index 1c5c7e6f0..2dbff8289 100644 --- a/codegen/Crm/Objects/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index ee7022ca5..6a919530e 100644 --- a/codegen/Crm/Objects/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Model/CollectionResponseAssociatedId.php index da694221c..1d9cdbaf9 100644 --- a/codegen/Crm/Objects/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 10e373239..a05a8809b 100644 --- a/codegen/Crm/Objects/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 312246297..fd1c049c3 100644 --- a/codegen/Crm/Objects/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/Error.php b/codegen/Crm/Objects/Model/Error.php index 544db24f5..da2e9fb95 100644 --- a/codegen/Crm/Objects/Model/Error.php +++ b/codegen/Crm/Objects/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/ErrorDetail.php b/codegen/Crm/Objects/Model/ErrorDetail.php index 25689c15f..fa5f4af54 100644 --- a/codegen/Crm/Objects/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/Filter.php b/codegen/Crm/Objects/Model/Filter.php index 9d8a8b6d2..a5a910508 100644 --- a/codegen/Crm/Objects/Model/Filter.php +++ b/codegen/Crm/Objects/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/FilterGroup.php b/codegen/Crm/Objects/Model/FilterGroup.php index 56f09c67b..b0cd2fbae 100644 --- a/codegen/Crm/Objects/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Model/ForwardPaging.php b/codegen/Crm/Objects/Model/ForwardPaging.php index 2ef147383..974563959 100644 --- a/codegen/Crm/Objects/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Model/NextPage.php b/codegen/Crm/Objects/Model/NextPage.php index 501122625..afddf396f 100644 --- a/codegen/Crm/Objects/Model/NextPage.php +++ b/codegen/Crm/Objects/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/Paging.php b/codegen/Crm/Objects/Model/Paging.php index 259bc825a..5e400d1a4 100644 --- a/codegen/Crm/Objects/Model/Paging.php +++ b/codegen/Crm/Objects/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/PreviousPage.php b/codegen/Crm/Objects/Model/PreviousPage.php index 767841337..5a170aeab 100644 --- a/codegen/Crm/Objects/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Model/PublicAssociationsForObject.php index 3c18abbe3..7eeac07c4 100644 --- a/codegen/Crm/Objects/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/PublicObjectId.php b/codegen/Crm/Objects/Model/PublicObjectId.php index df006b226..ea2ee0cd5 100644 --- a/codegen/Crm/Objects/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Model/PublicObjectSearchRequest.php index 35d05e7fb..152b260f1 100644 --- a/codegen/Crm/Objects/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/SimplePublicObject.php b/codegen/Crm/Objects/Model/SimplePublicObject.php index a185225a9..c3c777e79 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php index d7be2a809..ffaeb598d 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Model/SimplePublicObjectBatchInputUpsert.php index 350f81060..9da92f769 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Model/SimplePublicObjectId.php index 4e387fe2e..708b7e63d 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Model/SimplePublicObjectInput.php index 2fc9742f8..d6e7a2297 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Model/SimplePublicObjectInputForCreate.php index a4e024077..e01867afc 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Model/SimplePublicObjectWithAssociations.php index d0a0235ff..f5d1dc0a3 100644 --- a/codegen/Crm/Objects/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Model/SimplePublicUpsertObject.php index 370b6e0cf..eb2472cec 100644 --- a/codegen/Crm/Objects/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/StandardError.php b/codegen/Crm/Objects/Model/StandardError.php index 0291c0c60..8ba044bde 100644 --- a/codegen/Crm/Objects/Model/StandardError.php +++ b/codegen/Crm/Objects/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Model/ValueWithTimestamp.php index a81127d9e..49e249216 100644 --- a/codegen/Crm/Objects/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Api/BasicApi.php b/codegen/Crm/Objects/Notes/Api/BasicApi.php index b66384916..db57d8b94 100644 --- a/codegen/Crm/Objects/Notes/Api/BasicApi.php +++ b/codegen/Crm/Objects/Notes/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Notes/Api/BatchApi.php b/codegen/Crm/Objects/Notes/Api/BatchApi.php index d56b2b6c2..4db6a5e72 100644 --- a/codegen/Crm/Objects/Notes/Api/BatchApi.php +++ b/codegen/Crm/Objects/Notes/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Notes/Api/SearchApi.php b/codegen/Crm/Objects/Notes/Api/SearchApi.php index eeab284d3..7c621f3b9 100644 --- a/codegen/Crm/Objects/Notes/Api/SearchApi.php +++ b/codegen/Crm/Objects/Notes/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Notes/Configuration.php b/codegen/Crm/Objects/Notes/Configuration.php index 04b219e67..eda8c6cf8 100644 --- a/codegen/Crm/Objects/Notes/Configuration.php +++ b/codegen/Crm/Objects/Notes/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Notes/Model/AssociatedId.php b/codegen/Crm/Objects/Notes/Model/AssociatedId.php index d79ce0c26..73ddca4c9 100644 --- a/codegen/Crm/Objects/Notes/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Notes/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/AssociationSpec.php b/codegen/Crm/Objects/Notes/Model/AssociationSpec.php index 5e1629acf..a9c4c0654 100644 --- a/codegen/Crm/Objects/Notes/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Notes/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInput.php index 514c15727..ad18ef403 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 777e22ea0..c832e53d6 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectId.php index dcb1395a3..ca1b0433b 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectInputForCreate.php index d949b7ddc..ada7e2494 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Notes/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Notes/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Notes/Model/BatchReadInputSimplePublicObjectId.php index 6f2c1e375..3a37d8e1b 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Notes/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObject.php index a3f999852..3fa245b0c 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObjectWithErrors.php index aed9ac0bd..2074ad45c 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicUpsertObject.php index 1bc019079..076f65d59 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index e4a005837..d2de783aa 100644 --- a/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Notes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Notes/Model/CollectionResponseAssociatedId.php index 7cdd8b2d7..f0c1f3739 100644 --- a/codegen/Crm/Objects/Notes/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Notes/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Notes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 626d22474..f44ceb556 100644 --- a/codegen/Crm/Objects/Notes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Notes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Notes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index a3f93b755..c8967d523 100644 --- a/codegen/Crm/Objects/Notes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Notes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/Error.php b/codegen/Crm/Objects/Notes/Model/Error.php index 28d02e5cb..8fd9f66aa 100644 --- a/codegen/Crm/Objects/Notes/Model/Error.php +++ b/codegen/Crm/Objects/Notes/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/ErrorDetail.php b/codegen/Crm/Objects/Notes/Model/ErrorDetail.php index 0402a63ce..3ed839d99 100644 --- a/codegen/Crm/Objects/Notes/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Notes/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/Filter.php b/codegen/Crm/Objects/Notes/Model/Filter.php index e206cb7db..0317d548e 100644 --- a/codegen/Crm/Objects/Notes/Model/Filter.php +++ b/codegen/Crm/Objects/Notes/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/FilterGroup.php b/codegen/Crm/Objects/Notes/Model/FilterGroup.php index 0f4166b64..ea6bc2aef 100644 --- a/codegen/Crm/Objects/Notes/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Notes/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Notes/Model/ForwardPaging.php b/codegen/Crm/Objects/Notes/Model/ForwardPaging.php index b7b70f41c..052e76e49 100644 --- a/codegen/Crm/Objects/Notes/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Notes/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Notes/Model/NextPage.php b/codegen/Crm/Objects/Notes/Model/NextPage.php index 5db1f77c3..3ba0bce85 100644 --- a/codegen/Crm/Objects/Notes/Model/NextPage.php +++ b/codegen/Crm/Objects/Notes/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/Paging.php b/codegen/Crm/Objects/Notes/Model/Paging.php index 8a99725da..183c50b84 100644 --- a/codegen/Crm/Objects/Notes/Model/Paging.php +++ b/codegen/Crm/Objects/Notes/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/PreviousPage.php b/codegen/Crm/Objects/Notes/Model/PreviousPage.php index 41fe02f9d..25c39fe2f 100644 --- a/codegen/Crm/Objects/Notes/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Notes/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Notes/Model/PublicAssociationsForObject.php index d2bb5a7d0..9982ad00f 100644 --- a/codegen/Crm/Objects/Notes/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Notes/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/PublicObjectId.php b/codegen/Crm/Objects/Notes/Model/PublicObjectId.php index 016f47c16..2e1aa58f9 100644 --- a/codegen/Crm/Objects/Notes/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Notes/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Notes/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Notes/Model/PublicObjectSearchRequest.php index 88f55008e..d51b9c27b 100644 --- a/codegen/Crm/Objects/Notes/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Notes/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObject.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObject.php index 1b1b45a22..b7bad5e2e 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInput.php index 5b7dfd96c..e774c2717 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInputUpsert.php index 92fd9deb7..d15bae1a9 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectId.php index b6cd476c0..19dc28547 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInput.php index d64629f5e..c78887ed0 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInputForCreate.php index 2dac36da6..d349f512f 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectWithAssociations.php index ea8791f10..581a7249a 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Notes/Model/SimplePublicUpsertObject.php index 9291b3e62..8671835ba 100644 --- a/codegen/Crm/Objects/Notes/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Notes/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/StandardError.php b/codegen/Crm/Objects/Notes/Model/StandardError.php index 06e033394..5285476fa 100644 --- a/codegen/Crm/Objects/Notes/Model/StandardError.php +++ b/codegen/Crm/Objects/Notes/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Notes/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Notes/Model/ValueWithTimestamp.php index 0db389c6c..2f29531fd 100644 --- a/codegen/Crm/Objects/Notes/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Notes/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Api/BasicApi.php b/codegen/Crm/Objects/PostalMail/Api/BasicApi.php index 67775cd40..db15630e3 100644 --- a/codegen/Crm/Objects/PostalMail/Api/BasicApi.php +++ b/codegen/Crm/Objects/PostalMail/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/PostalMail/Api/BatchApi.php b/codegen/Crm/Objects/PostalMail/Api/BatchApi.php index da276b2bd..f2844e4e4 100644 --- a/codegen/Crm/Objects/PostalMail/Api/BatchApi.php +++ b/codegen/Crm/Objects/PostalMail/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/PostalMail/Api/SearchApi.php b/codegen/Crm/Objects/PostalMail/Api/SearchApi.php index a57e599b2..e8fb961df 100644 --- a/codegen/Crm/Objects/PostalMail/Api/SearchApi.php +++ b/codegen/Crm/Objects/PostalMail/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/PostalMail/Configuration.php b/codegen/Crm/Objects/PostalMail/Configuration.php index ee35fca7f..5271504a8 100644 --- a/codegen/Crm/Objects/PostalMail/Configuration.php +++ b/codegen/Crm/Objects/PostalMail/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/PostalMail/Model/AssociatedId.php b/codegen/Crm/Objects/PostalMail/Model/AssociatedId.php index 6331f83eb..cdc4c61a4 100644 --- a/codegen/Crm/Objects/PostalMail/Model/AssociatedId.php +++ b/codegen/Crm/Objects/PostalMail/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/AssociationSpec.php b/codegen/Crm/Objects/PostalMail/Model/AssociationSpec.php index fe6893a61..1f721a417 100644 --- a/codegen/Crm/Objects/PostalMail/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/PostalMail/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInput.php index 08530c502..96da59d80 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 62fd15f45..38f9fb2b4 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectId.php index b07349a7e..a6ee85a26 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectInputForCreate.php index a283c04d1..b082589c7 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/PostalMail/Model/BatchReadInputSimplePublicObjectId.php index afdc599ae..7b337b9a4 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObject.php index d77270ce1..8dc0150df 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObjectWithErrors.php index 5b2cb0a3a..f620cfcfb 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicUpsertObject.php index 77eadf629..be3998182 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 94d87eea0..815808911 100644 --- a/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/PostalMail/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseAssociatedId.php index b5a8ceeac..341bac014 100644 --- a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index c209d22a6..be7bd6660 100644 --- a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 25f4c38b6..47a88e972 100644 --- a/codegen/Crm/Objects/PostalMail/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/PostalMail/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/Error.php b/codegen/Crm/Objects/PostalMail/Model/Error.php index 2c84a8a89..54f0ade0f 100644 --- a/codegen/Crm/Objects/PostalMail/Model/Error.php +++ b/codegen/Crm/Objects/PostalMail/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/ErrorDetail.php b/codegen/Crm/Objects/PostalMail/Model/ErrorDetail.php index 3b6e47190..283e1a09a 100644 --- a/codegen/Crm/Objects/PostalMail/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/PostalMail/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/Filter.php b/codegen/Crm/Objects/PostalMail/Model/Filter.php index f183253a6..32ba40e69 100644 --- a/codegen/Crm/Objects/PostalMail/Model/Filter.php +++ b/codegen/Crm/Objects/PostalMail/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/FilterGroup.php b/codegen/Crm/Objects/PostalMail/Model/FilterGroup.php index 3548cbd2e..d20c0a580 100644 --- a/codegen/Crm/Objects/PostalMail/Model/FilterGroup.php +++ b/codegen/Crm/Objects/PostalMail/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/PostalMail/Model/ForwardPaging.php b/codegen/Crm/Objects/PostalMail/Model/ForwardPaging.php index f08b7cfe3..963fe7deb 100644 --- a/codegen/Crm/Objects/PostalMail/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/PostalMail/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/PostalMail/Model/NextPage.php b/codegen/Crm/Objects/PostalMail/Model/NextPage.php index 56c71baef..dfc613b59 100644 --- a/codegen/Crm/Objects/PostalMail/Model/NextPage.php +++ b/codegen/Crm/Objects/PostalMail/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/Paging.php b/codegen/Crm/Objects/PostalMail/Model/Paging.php index 4fc35f716..41cd16028 100644 --- a/codegen/Crm/Objects/PostalMail/Model/Paging.php +++ b/codegen/Crm/Objects/PostalMail/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/PreviousPage.php b/codegen/Crm/Objects/PostalMail/Model/PreviousPage.php index 6a339e753..dd5cfcc82 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PreviousPage.php +++ b/codegen/Crm/Objects/PostalMail/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/PostalMail/Model/PublicAssociationsForObject.php index c511c404b..b22a67cd3 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/PostalMail/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/PublicObjectId.php b/codegen/Crm/Objects/PostalMail/Model/PublicObjectId.php index 0dd660f9e..1936813cd 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/PostalMail/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/PostalMail/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/PostalMail/Model/PublicObjectSearchRequest.php index dce91dec8..c61a9a7e2 100644 --- a/codegen/Crm/Objects/PostalMail/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/PostalMail/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObject.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObject.php index 97c9a59e4..e123719ff 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInput.php index 381177b63..3f4984d55 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInputUpsert.php index cf4ca9953..d8c9bcc50 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectId.php index 158354a8a..d129589bb 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInput.php index d6c7e9b22..c44dd668b 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInputForCreate.php index cf5f490a8..7b2e587d7 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectWithAssociations.php index c909c38f3..5585af736 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/PostalMail/Model/SimplePublicUpsertObject.php index af7244f4b..24a07bad2 100644 --- a/codegen/Crm/Objects/PostalMail/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/PostalMail/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/StandardError.php b/codegen/Crm/Objects/PostalMail/Model/StandardError.php index 8c5d25792..5d3a6f641 100644 --- a/codegen/Crm/Objects/PostalMail/Model/StandardError.php +++ b/codegen/Crm/Objects/PostalMail/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/PostalMail/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/PostalMail/Model/ValueWithTimestamp.php index 79241f4ec..a2778db85 100644 --- a/codegen/Crm/Objects/PostalMail/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/PostalMail/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Api/BasicApi.php b/codegen/Crm/Objects/Tasks/Api/BasicApi.php index b67cfa0d4..0edb7a006 100644 --- a/codegen/Crm/Objects/Tasks/Api/BasicApi.php +++ b/codegen/Crm/Objects/Tasks/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Tasks/Api/BatchApi.php b/codegen/Crm/Objects/Tasks/Api/BatchApi.php index 808de9910..e4489cca8 100644 --- a/codegen/Crm/Objects/Tasks/Api/BatchApi.php +++ b/codegen/Crm/Objects/Tasks/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Tasks/Api/SearchApi.php b/codegen/Crm/Objects/Tasks/Api/SearchApi.php index 62187ee40..ab3d04823 100644 --- a/codegen/Crm/Objects/Tasks/Api/SearchApi.php +++ b/codegen/Crm/Objects/Tasks/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Tasks/Configuration.php b/codegen/Crm/Objects/Tasks/Configuration.php index 912c1ef70..3dd3422ec 100644 --- a/codegen/Crm/Objects/Tasks/Configuration.php +++ b/codegen/Crm/Objects/Tasks/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Tasks/Model/AssociatedId.php b/codegen/Crm/Objects/Tasks/Model/AssociatedId.php index 74626980a..5ab0c870e 100644 --- a/codegen/Crm/Objects/Tasks/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Tasks/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/AssociationSpec.php b/codegen/Crm/Objects/Tasks/Model/AssociationSpec.php index 4621d0115..62b05e4fd 100644 --- a/codegen/Crm/Objects/Tasks/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Tasks/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInput.php index 52e390181..d0ef7b83a 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 03cbcd5c8..aa64cbb25 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectId.php index de6918967..33578c89e 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectInputForCreate.php index 0ddcd0c00..785b1d854 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Tasks/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Tasks/Model/BatchReadInputSimplePublicObjectId.php index 061d91230..c61dd8ebf 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObject.php index 4e8f7974a..abe4f2a4f 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObjectWithErrors.php index adbfa5f71..10a0fddae 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicUpsertObject.php index a4429aa18..73f644aa2 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index a6c87d993..624bb9f75 100644 --- a/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Tasks/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Tasks/Model/CollectionResponseAssociatedId.php index 34530efaf..396008283 100644 --- a/codegen/Crm/Objects/Tasks/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Tasks/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Tasks/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 0b0ec0a69..9e0b5031b 100644 --- a/codegen/Crm/Objects/Tasks/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Tasks/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Tasks/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 2e0360cb4..0ce1f0953 100644 --- a/codegen/Crm/Objects/Tasks/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Tasks/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/Error.php b/codegen/Crm/Objects/Tasks/Model/Error.php index 335fb48b3..f54d585d9 100644 --- a/codegen/Crm/Objects/Tasks/Model/Error.php +++ b/codegen/Crm/Objects/Tasks/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/ErrorDetail.php b/codegen/Crm/Objects/Tasks/Model/ErrorDetail.php index 912976a60..db6baa575 100644 --- a/codegen/Crm/Objects/Tasks/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Tasks/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/Filter.php b/codegen/Crm/Objects/Tasks/Model/Filter.php index d7fda332a..95b789047 100644 --- a/codegen/Crm/Objects/Tasks/Model/Filter.php +++ b/codegen/Crm/Objects/Tasks/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/FilterGroup.php b/codegen/Crm/Objects/Tasks/Model/FilterGroup.php index 1a4cafa78..3353a179e 100644 --- a/codegen/Crm/Objects/Tasks/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Tasks/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Tasks/Model/ForwardPaging.php b/codegen/Crm/Objects/Tasks/Model/ForwardPaging.php index e6837b1eb..952fe8c37 100644 --- a/codegen/Crm/Objects/Tasks/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Tasks/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Tasks/Model/NextPage.php b/codegen/Crm/Objects/Tasks/Model/NextPage.php index 491bc3b62..ae88fd057 100644 --- a/codegen/Crm/Objects/Tasks/Model/NextPage.php +++ b/codegen/Crm/Objects/Tasks/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/Paging.php b/codegen/Crm/Objects/Tasks/Model/Paging.php index a24a69f0a..69cddb60d 100644 --- a/codegen/Crm/Objects/Tasks/Model/Paging.php +++ b/codegen/Crm/Objects/Tasks/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/PreviousPage.php b/codegen/Crm/Objects/Tasks/Model/PreviousPage.php index b108baab2..51cf78920 100644 --- a/codegen/Crm/Objects/Tasks/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Tasks/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Tasks/Model/PublicAssociationsForObject.php index 594957665..0866386c0 100644 --- a/codegen/Crm/Objects/Tasks/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Tasks/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/PublicObjectId.php b/codegen/Crm/Objects/Tasks/Model/PublicObjectId.php index 23745af81..5462d86fa 100644 --- a/codegen/Crm/Objects/Tasks/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Tasks/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Tasks/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Tasks/Model/PublicObjectSearchRequest.php index 36d7e72a4..1062dc9c5 100644 --- a/codegen/Crm/Objects/Tasks/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Tasks/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObject.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObject.php index 798247447..5cfb3c8e2 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInput.php index e22a9e9d0..2c19a7883 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInputUpsert.php index baa76e406..80d3e9ccc 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectId.php index 16fcf0efa..46094c5dc 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInput.php index d4bead8b9..e6e266520 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInputForCreate.php index 86ea1bd1e..0597d03cb 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectWithAssociations.php index 473acc6a4..eac3f5009 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Tasks/Model/SimplePublicUpsertObject.php index a7058f41b..ecd063844 100644 --- a/codegen/Crm/Objects/Tasks/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Tasks/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/StandardError.php b/codegen/Crm/Objects/Tasks/Model/StandardError.php index 4d5400f6b..88e1791d9 100644 --- a/codegen/Crm/Objects/Tasks/Model/StandardError.php +++ b/codegen/Crm/Objects/Tasks/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Tasks/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Tasks/Model/ValueWithTimestamp.php index 8c78da7ff..68f11fee8 100644 --- a/codegen/Crm/Objects/Tasks/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Tasks/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Api/BasicApi.php b/codegen/Crm/Objects/Taxes/Api/BasicApi.php index 80f2749c2..71a66250b 100644 --- a/codegen/Crm/Objects/Taxes/Api/BasicApi.php +++ b/codegen/Crm/Objects/Taxes/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Taxes/Api/BatchApi.php b/codegen/Crm/Objects/Taxes/Api/BatchApi.php index 4d1c58508..b321b9231 100644 --- a/codegen/Crm/Objects/Taxes/Api/BatchApi.php +++ b/codegen/Crm/Objects/Taxes/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Taxes/Api/SearchApi.php b/codegen/Crm/Objects/Taxes/Api/SearchApi.php index a05567719..6efa66cfe 100644 --- a/codegen/Crm/Objects/Taxes/Api/SearchApi.php +++ b/codegen/Crm/Objects/Taxes/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Objects/Taxes/Configuration.php b/codegen/Crm/Objects/Taxes/Configuration.php index 719532eb0..eaaa18938 100644 --- a/codegen/Crm/Objects/Taxes/Configuration.php +++ b/codegen/Crm/Objects/Taxes/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Objects/Taxes/Model/AssociatedId.php b/codegen/Crm/Objects/Taxes/Model/AssociatedId.php index d62ee5876..8092be022 100644 --- a/codegen/Crm/Objects/Taxes/Model/AssociatedId.php +++ b/codegen/Crm/Objects/Taxes/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/AssociationSpec.php b/codegen/Crm/Objects/Taxes/Model/AssociationSpec.php index 51d0dae1e..ff7855fb5 100644 --- a/codegen/Crm/Objects/Taxes/Model/AssociationSpec.php +++ b/codegen/Crm/Objects/Taxes/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInput.php index d0caeaa2c..7d736862b 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index d50b9d45a..c1854e373 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectId.php index 2badeaf19..d741aa881 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectInputForCreate.php index 2654474c4..0aac62ca1 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Taxes/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Objects/Taxes/Model/BatchReadInputSimplePublicObjectId.php index e73ece96b..302e763bf 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObject.php index 89e538620..322af3999 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObjectWithErrors.php index c554f136a..fb2499131 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicUpsertObject.php index 7240b8f34..fb3c44ede 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 0a739fc46..fb670fd17 100644 --- a/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Objects/Taxes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Objects/Taxes/Model/CollectionResponseAssociatedId.php index fd9141926..83d39989f 100644 --- a/codegen/Crm/Objects/Taxes/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Objects/Taxes/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Objects/Taxes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 1638c0c88..7a003f0a3 100644 --- a/codegen/Crm/Objects/Taxes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Objects/Taxes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Objects/Taxes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 2e2a10d90..6534bde0b 100644 --- a/codegen/Crm/Objects/Taxes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Objects/Taxes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/Error.php b/codegen/Crm/Objects/Taxes/Model/Error.php index 3a57f7530..272047338 100644 --- a/codegen/Crm/Objects/Taxes/Model/Error.php +++ b/codegen/Crm/Objects/Taxes/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/ErrorDetail.php b/codegen/Crm/Objects/Taxes/Model/ErrorDetail.php index a8871f4a4..198fede0b 100644 --- a/codegen/Crm/Objects/Taxes/Model/ErrorDetail.php +++ b/codegen/Crm/Objects/Taxes/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/Filter.php b/codegen/Crm/Objects/Taxes/Model/Filter.php index 76b541a0a..d0e2d3c60 100644 --- a/codegen/Crm/Objects/Taxes/Model/Filter.php +++ b/codegen/Crm/Objects/Taxes/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/FilterGroup.php b/codegen/Crm/Objects/Taxes/Model/FilterGroup.php index 75f0efced..d94d83801 100644 --- a/codegen/Crm/Objects/Taxes/Model/FilterGroup.php +++ b/codegen/Crm/Objects/Taxes/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Taxes/Model/ForwardPaging.php b/codegen/Crm/Objects/Taxes/Model/ForwardPaging.php index 27b71e89d..5ef0f606e 100644 --- a/codegen/Crm/Objects/Taxes/Model/ForwardPaging.php +++ b/codegen/Crm/Objects/Taxes/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Taxes/Model/NextPage.php b/codegen/Crm/Objects/Taxes/Model/NextPage.php index f532612fa..b701639ee 100644 --- a/codegen/Crm/Objects/Taxes/Model/NextPage.php +++ b/codegen/Crm/Objects/Taxes/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/Paging.php b/codegen/Crm/Objects/Taxes/Model/Paging.php index c4f569288..087f787b0 100644 --- a/codegen/Crm/Objects/Taxes/Model/Paging.php +++ b/codegen/Crm/Objects/Taxes/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/PreviousPage.php b/codegen/Crm/Objects/Taxes/Model/PreviousPage.php index a26690b76..5b778ca89 100644 --- a/codegen/Crm/Objects/Taxes/Model/PreviousPage.php +++ b/codegen/Crm/Objects/Taxes/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/PublicAssociationsForObject.php b/codegen/Crm/Objects/Taxes/Model/PublicAssociationsForObject.php index 510c49912..51ce54e9b 100644 --- a/codegen/Crm/Objects/Taxes/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Objects/Taxes/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/PublicObjectId.php b/codegen/Crm/Objects/Taxes/Model/PublicObjectId.php index 99a5da991..6e42531c0 100644 --- a/codegen/Crm/Objects/Taxes/Model/PublicObjectId.php +++ b/codegen/Crm/Objects/Taxes/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Taxes/Model/PublicObjectSearchRequest.php b/codegen/Crm/Objects/Taxes/Model/PublicObjectSearchRequest.php index 9faf18ea6..68b192ff3 100644 --- a/codegen/Crm/Objects/Taxes/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Objects/Taxes/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObject.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObject.php index dc22dd350..ad5e6b2d8 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObject.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInput.php index 4a1cc9023..9e8393306 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInputUpsert.php index a377e355f..9d9c9d89b 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectId.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectId.php index 538b7295a..f0c0454fe 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInput.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInput.php index 2b65fcbb2..77b722399 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInputForCreate.php index 0c13bd2bf..f22eb561d 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectWithAssociations.php index 9867054b4..892c54566 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/SimplePublicUpsertObject.php b/codegen/Crm/Objects/Taxes/Model/SimplePublicUpsertObject.php index d86a9109b..7b093aa52 100644 --- a/codegen/Crm/Objects/Taxes/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Objects/Taxes/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/StandardError.php b/codegen/Crm/Objects/Taxes/Model/StandardError.php index dc731b923..098b8b783 100644 --- a/codegen/Crm/Objects/Taxes/Model/StandardError.php +++ b/codegen/Crm/Objects/Taxes/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Objects/Taxes/Model/ValueWithTimestamp.php b/codegen/Crm/Objects/Taxes/Model/ValueWithTimestamp.php index 573eadbdb..d1a905e80 100644 --- a/codegen/Crm/Objects/Taxes/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Objects/Taxes/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Owners/Api/OwnersApi.php b/codegen/Crm/Owners/Api/OwnersApi.php index a86f66539..18c0e100a 100644 --- a/codegen/Crm/Owners/Api/OwnersApi.php +++ b/codegen/Crm/Owners/Api/OwnersApi.php @@ -80,15 +80,15 @@ class OwnersApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Owners/Configuration.php b/codegen/Crm/Owners/Configuration.php index bec01b5df..ce80f62d3 100644 --- a/codegen/Crm/Owners/Configuration.php +++ b/codegen/Crm/Owners/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Owners/Model/CollectionResponsePublicOwnerForwardPaging.php b/codegen/Crm/Owners/Model/CollectionResponsePublicOwnerForwardPaging.php index fd6fe1871..1dd6e4ee9 100644 --- a/codegen/Crm/Owners/Model/CollectionResponsePublicOwnerForwardPaging.php +++ b/codegen/Crm/Owners/Model/CollectionResponsePublicOwnerForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Owners/Model/Error.php b/codegen/Crm/Owners/Model/Error.php index 64fa77931..eff9c12c4 100644 --- a/codegen/Crm/Owners/Model/Error.php +++ b/codegen/Crm/Owners/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Owners/Model/ErrorDetail.php b/codegen/Crm/Owners/Model/ErrorDetail.php index 568d562b4..31a4156f5 100644 --- a/codegen/Crm/Owners/Model/ErrorDetail.php +++ b/codegen/Crm/Owners/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Owners/Model/ForwardPaging.php b/codegen/Crm/Owners/Model/ForwardPaging.php index e7a8029e2..915de3d7e 100644 --- a/codegen/Crm/Owners/Model/ForwardPaging.php +++ b/codegen/Crm/Owners/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Owners/Model/NextPage.php b/codegen/Crm/Owners/Model/NextPage.php index 7c4e2c9c2..758bc0c72 100644 --- a/codegen/Crm/Owners/Model/NextPage.php +++ b/codegen/Crm/Owners/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Owners/Model/PublicOwner.php b/codegen/Crm/Owners/Model/PublicOwner.php index 5eb908965..05740911b 100644 --- a/codegen/Crm/Owners/Model/PublicOwner.php +++ b/codegen/Crm/Owners/Model/PublicOwner.php @@ -314,10 +314,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('first_name', $data ?? [], null); $this->setIfExists('last_name', $data ?? [], null); diff --git a/codegen/Crm/Owners/Model/PublicTeam.php b/codegen/Crm/Owners/Model/PublicTeam.php index f3694b206..34421b64a 100644 --- a/codegen/Crm/Owners/Model/PublicTeam.php +++ b/codegen/Crm/Owners/Model/PublicTeam.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Api/PipelineAuditsApi.php b/codegen/Crm/Pipelines/Api/PipelineAuditsApi.php index 749d0ecec..775a79894 100644 --- a/codegen/Crm/Pipelines/Api/PipelineAuditsApi.php +++ b/codegen/Crm/Pipelines/Api/PipelineAuditsApi.php @@ -77,15 +77,15 @@ class PipelineAuditsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Pipelines/Api/PipelineStageAuditsApi.php b/codegen/Crm/Pipelines/Api/PipelineStageAuditsApi.php index cf4359bff..48a3e41cb 100644 --- a/codegen/Crm/Pipelines/Api/PipelineStageAuditsApi.php +++ b/codegen/Crm/Pipelines/Api/PipelineStageAuditsApi.php @@ -77,15 +77,15 @@ class PipelineStageAuditsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Pipelines/Api/PipelineStagesApi.php b/codegen/Crm/Pipelines/Api/PipelineStagesApi.php index a6741d75e..fac1f1bdf 100644 --- a/codegen/Crm/Pipelines/Api/PipelineStagesApi.php +++ b/codegen/Crm/Pipelines/Api/PipelineStagesApi.php @@ -92,15 +92,15 @@ class PipelineStagesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Pipelines/Api/PipelinesApi.php b/codegen/Crm/Pipelines/Api/PipelinesApi.php index 1e815cbca..c052cdb30 100644 --- a/codegen/Crm/Pipelines/Api/PipelinesApi.php +++ b/codegen/Crm/Pipelines/Api/PipelinesApi.php @@ -92,15 +92,15 @@ class PipelinesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Pipelines/Configuration.php b/codegen/Crm/Pipelines/Configuration.php index 4f2af2047..fcd54aa0c 100644 --- a/codegen/Crm/Pipelines/Configuration.php +++ b/codegen/Crm/Pipelines/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Pipelines/Model/CollectionResponsePipelineNoPaging.php b/codegen/Crm/Pipelines/Model/CollectionResponsePipelineNoPaging.php index ded926990..c2e729652 100644 --- a/codegen/Crm/Pipelines/Model/CollectionResponsePipelineNoPaging.php +++ b/codegen/Crm/Pipelines/Model/CollectionResponsePipelineNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Pipelines/Model/CollectionResponsePipelineStageNoPaging.php b/codegen/Crm/Pipelines/Model/CollectionResponsePipelineStageNoPaging.php index 0ec277391..4f784cba6 100644 --- a/codegen/Crm/Pipelines/Model/CollectionResponsePipelineStageNoPaging.php +++ b/codegen/Crm/Pipelines/Model/CollectionResponsePipelineStageNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Pipelines/Model/CollectionResponsePublicAuditInfoNoPaging.php b/codegen/Crm/Pipelines/Model/CollectionResponsePublicAuditInfoNoPaging.php index 172f988c8..18d1a713c 100644 --- a/codegen/Crm/Pipelines/Model/CollectionResponsePublicAuditInfoNoPaging.php +++ b/codegen/Crm/Pipelines/Model/CollectionResponsePublicAuditInfoNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Pipelines/Model/Error.php b/codegen/Crm/Pipelines/Model/Error.php index d871ee8a8..a677522f9 100644 --- a/codegen/Crm/Pipelines/Model/Error.php +++ b/codegen/Crm/Pipelines/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Model/ErrorDetail.php b/codegen/Crm/Pipelines/Model/ErrorDetail.php index 38b893c3e..491c507f6 100644 --- a/codegen/Crm/Pipelines/Model/ErrorDetail.php +++ b/codegen/Crm/Pipelines/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Model/Pipeline.php b/codegen/Crm/Pipelines/Model/Pipeline.php index 3d47d659a..6fe5dd8b7 100644 --- a/codegen/Crm/Pipelines/Model/Pipeline.php +++ b/codegen/Crm/Pipelines/Model/Pipeline.php @@ -282,10 +282,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived_at', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Model/PipelineInput.php b/codegen/Crm/Pipelines/Model/PipelineInput.php index 195541e17..5d5d2802d 100644 --- a/codegen/Crm/Pipelines/Model/PipelineInput.php +++ b/codegen/Crm/Pipelines/Model/PipelineInput.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('display_order', $data ?? [], null); $this->setIfExists('stages', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Model/PipelinePatchInput.php b/codegen/Crm/Pipelines/Model/PipelinePatchInput.php index 411080866..2744e7a6f 100644 --- a/codegen/Crm/Pipelines/Model/PipelinePatchInput.php +++ b/codegen/Crm/Pipelines/Model/PipelinePatchInput.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('archived', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Model/PipelineStage.php b/codegen/Crm/Pipelines/Model/PipelineStage.php index 9544071cc..7fb4efa55 100644 --- a/codegen/Crm/Pipelines/Model/PipelineStage.php +++ b/codegen/Crm/Pipelines/Model/PipelineStage.php @@ -305,10 +305,10 @@ public function getWritePermissionsAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived_at', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Model/PipelineStageInput.php b/codegen/Crm/Pipelines/Model/PipelineStageInput.php index 7b32e63c0..2d392edd4 100644 --- a/codegen/Crm/Pipelines/Model/PipelineStageInput.php +++ b/codegen/Crm/Pipelines/Model/PipelineStageInput.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('metadata', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Model/PipelineStagePatchInput.php b/codegen/Crm/Pipelines/Model/PipelineStagePatchInput.php index 7c8933fbc..df8e0eb5d 100644 --- a/codegen/Crm/Pipelines/Model/PipelineStagePatchInput.php +++ b/codegen/Crm/Pipelines/Model/PipelineStagePatchInput.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('archived', $data ?? [], null); $this->setIfExists('metadata', $data ?? [], null); diff --git a/codegen/Crm/Pipelines/Model/PublicAuditInfo.php b/codegen/Crm/Pipelines/Model/PublicAuditInfo.php index aeb3cec48..7f13e1501 100644 --- a/codegen/Crm/Pipelines/Model/PublicAuditInfo.php +++ b/codegen/Crm/Pipelines/Model/PublicAuditInfo.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('identifier', $data ?? [], null); $this->setIfExists('raw_object', $data ?? [], null); diff --git a/codegen/Crm/Products/Api/BasicApi.php b/codegen/Crm/Products/Api/BasicApi.php index e2d1691ad..bb862caac 100644 --- a/codegen/Crm/Products/Api/BasicApi.php +++ b/codegen/Crm/Products/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Products/Api/BatchApi.php b/codegen/Crm/Products/Api/BatchApi.php index aafe6cbd1..466d70d54 100644 --- a/codegen/Crm/Products/Api/BatchApi.php +++ b/codegen/Crm/Products/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Products/Api/SearchApi.php b/codegen/Crm/Products/Api/SearchApi.php index cd7b306ed..709d9de46 100644 --- a/codegen/Crm/Products/Api/SearchApi.php +++ b/codegen/Crm/Products/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Products/Configuration.php b/codegen/Crm/Products/Configuration.php index bb15bb2e8..918e0b2db 100644 --- a/codegen/Crm/Products/Configuration.php +++ b/codegen/Crm/Products/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Products/Model/AssociatedId.php b/codegen/Crm/Products/Model/AssociatedId.php index f9409cad6..31451f758 100644 --- a/codegen/Crm/Products/Model/AssociatedId.php +++ b/codegen/Crm/Products/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/AssociationSpec.php b/codegen/Crm/Products/Model/AssociationSpec.php index 5526a1322..d5966880e 100644 --- a/codegen/Crm/Products/Model/AssociationSpec.php +++ b/codegen/Crm/Products/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInput.php index 6d90a306e..9fe894039 100644 --- a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 1a75f00e7..d22ae637a 100644 --- a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectId.php index f84aaabd3..4fc28654d 100644 --- a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectInputForCreate.php index 7d504330b..5f7986fbd 100644 --- a/codegen/Crm/Products/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Products/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Products/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Products/Model/BatchReadInputSimplePublicObjectId.php index 0ca5aa339..0de8aea39 100644 --- a/codegen/Crm/Products/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Products/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Products/Model/BatchResponseSimplePublicObject.php index 90a501f90..bfa9afcf7 100644 --- a/codegen/Crm/Products/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Products/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Products/Model/BatchResponseSimplePublicObjectWithErrors.php index 67a75608c..f3646dd93 100644 --- a/codegen/Crm/Products/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Products/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Products/Model/BatchResponseSimplePublicUpsertObject.php index 8fe620e43..914e97822 100644 --- a/codegen/Crm/Products/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Products/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Products/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 9c30efd5f..92450282a 100644 --- a/codegen/Crm/Products/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Products/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Products/Model/CollectionResponseAssociatedId.php index e83ba2386..5bb5ec8a5 100644 --- a/codegen/Crm/Products/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Products/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Products/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index ddc9db722..cdd6db0e9 100644 --- a/codegen/Crm/Products/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Products/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Products/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index ab2fd8f79..175af9565 100644 --- a/codegen/Crm/Products/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Products/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/Error.php b/codegen/Crm/Products/Model/Error.php index c3aa40e75..c9b080951 100644 --- a/codegen/Crm/Products/Model/Error.php +++ b/codegen/Crm/Products/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/ErrorDetail.php b/codegen/Crm/Products/Model/ErrorDetail.php index 49efd13d7..e5ba9f37f 100644 --- a/codegen/Crm/Products/Model/ErrorDetail.php +++ b/codegen/Crm/Products/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/Filter.php b/codegen/Crm/Products/Model/Filter.php index 8b8e728f3..3a98ec520 100644 --- a/codegen/Crm/Products/Model/Filter.php +++ b/codegen/Crm/Products/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/FilterGroup.php b/codegen/Crm/Products/Model/FilterGroup.php index d7cf528e0..fbb7efe11 100644 --- a/codegen/Crm/Products/Model/FilterGroup.php +++ b/codegen/Crm/Products/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Products/Model/ForwardPaging.php b/codegen/Crm/Products/Model/ForwardPaging.php index cea918f06..0d444efbe 100644 --- a/codegen/Crm/Products/Model/ForwardPaging.php +++ b/codegen/Crm/Products/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Products/Model/NextPage.php b/codegen/Crm/Products/Model/NextPage.php index f252b0bd0..1d6715ed2 100644 --- a/codegen/Crm/Products/Model/NextPage.php +++ b/codegen/Crm/Products/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/Paging.php b/codegen/Crm/Products/Model/Paging.php index b27880b2f..3c9b09362 100644 --- a/codegen/Crm/Products/Model/Paging.php +++ b/codegen/Crm/Products/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/PreviousPage.php b/codegen/Crm/Products/Model/PreviousPage.php index 20dfe1508..76c918e26 100644 --- a/codegen/Crm/Products/Model/PreviousPage.php +++ b/codegen/Crm/Products/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/PublicAssociationsForObject.php b/codegen/Crm/Products/Model/PublicAssociationsForObject.php index fc4e31bb8..b984250fa 100644 --- a/codegen/Crm/Products/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Products/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/PublicObjectId.php b/codegen/Crm/Products/Model/PublicObjectId.php index 31a13c77a..d28f2082a 100644 --- a/codegen/Crm/Products/Model/PublicObjectId.php +++ b/codegen/Crm/Products/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Products/Model/PublicObjectSearchRequest.php b/codegen/Crm/Products/Model/PublicObjectSearchRequest.php index 0fb6c6fc7..30c88d1da 100644 --- a/codegen/Crm/Products/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Products/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/SimplePublicObject.php b/codegen/Crm/Products/Model/SimplePublicObject.php index 27cda4854..abf6673ce 100644 --- a/codegen/Crm/Products/Model/SimplePublicObject.php +++ b/codegen/Crm/Products/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Products/Model/SimplePublicObjectBatchInput.php index 0dfa3fa81..092f55e10 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Products/Model/SimplePublicObjectBatchInputUpsert.php index 5a8da6d21..e6d629918 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/SimplePublicObjectId.php b/codegen/Crm/Products/Model/SimplePublicObjectId.php index 6aad56db0..52983630a 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Products/Model/SimplePublicObjectInput.php b/codegen/Crm/Products/Model/SimplePublicObjectInput.php index 453346280..2842fb944 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Products/Model/SimplePublicObjectInputForCreate.php index a052c32dc..7764bf4db 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Products/Model/SimplePublicObjectWithAssociations.php index c3d55db90..586cf5b3a 100644 --- a/codegen/Crm/Products/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Products/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/SimplePublicUpsertObject.php b/codegen/Crm/Products/Model/SimplePublicUpsertObject.php index afc4d8565..70c6852a0 100644 --- a/codegen/Crm/Products/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Products/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/StandardError.php b/codegen/Crm/Products/Model/StandardError.php index 9f3d26cf9..8dbdec663 100644 --- a/codegen/Crm/Products/Model/StandardError.php +++ b/codegen/Crm/Products/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Products/Model/ValueWithTimestamp.php b/codegen/Crm/Products/Model/ValueWithTimestamp.php index 98d0a31c9..fd3e001ce 100644 --- a/codegen/Crm/Products/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Products/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Properties/Api/BatchApi.php b/codegen/Crm/Properties/Api/BatchApi.php index 05c9c4f25..93fa0eb6b 100644 --- a/codegen/Crm/Properties/Api/BatchApi.php +++ b/codegen/Crm/Properties/Api/BatchApi.php @@ -83,15 +83,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Properties/Api/CoreApi.php b/codegen/Crm/Properties/Api/CoreApi.php index a5f099cfc..ddab85e27 100644 --- a/codegen/Crm/Properties/Api/CoreApi.php +++ b/codegen/Crm/Properties/Api/CoreApi.php @@ -89,15 +89,15 @@ class CoreApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Properties/Api/GroupsApi.php b/codegen/Crm/Properties/Api/GroupsApi.php index 86bdb774c..403ba8b3e 100644 --- a/codegen/Crm/Properties/Api/GroupsApi.php +++ b/codegen/Crm/Properties/Api/GroupsApi.php @@ -89,15 +89,15 @@ class GroupsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Properties/Configuration.php b/codegen/Crm/Properties/Configuration.php index e6380bd8f..8e50befcd 100644 --- a/codegen/Crm/Properties/Configuration.php +++ b/codegen/Crm/Properties/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Properties/Model/BatchInputPropertyCreate.php b/codegen/Crm/Properties/Model/BatchInputPropertyCreate.php index 14a002a3a..c3309078b 100644 --- a/codegen/Crm/Properties/Model/BatchInputPropertyCreate.php +++ b/codegen/Crm/Properties/Model/BatchInputPropertyCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Properties/Model/BatchInputPropertyName.php b/codegen/Crm/Properties/Model/BatchInputPropertyName.php index 1c20d1c4a..d7ee8fca5 100644 --- a/codegen/Crm/Properties/Model/BatchInputPropertyName.php +++ b/codegen/Crm/Properties/Model/BatchInputPropertyName.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Properties/Model/BatchReadInputPropertyName.php b/codegen/Crm/Properties/Model/BatchReadInputPropertyName.php index 9e7895296..c780a5e47 100644 --- a/codegen/Crm/Properties/Model/BatchReadInputPropertyName.php +++ b/codegen/Crm/Properties/Model/BatchReadInputPropertyName.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('archived', $data ?? [], null); $this->setIfExists('inputs', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/BatchResponseProperty.php b/codegen/Crm/Properties/Model/BatchResponseProperty.php index 7cfae3af8..93c8aa09c 100644 --- a/codegen/Crm/Properties/Model/BatchResponseProperty.php +++ b/codegen/Crm/Properties/Model/BatchResponseProperty.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/BatchResponsePropertyWithErrors.php b/codegen/Crm/Properties/Model/BatchResponsePropertyWithErrors.php index d8241d71a..6395db17f 100644 --- a/codegen/Crm/Properties/Model/BatchResponsePropertyWithErrors.php +++ b/codegen/Crm/Properties/Model/BatchResponsePropertyWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/CollectionResponsePropertyGroupNoPaging.php b/codegen/Crm/Properties/Model/CollectionResponsePropertyGroupNoPaging.php index 7eb1aa2c8..8c3a0b9a2 100644 --- a/codegen/Crm/Properties/Model/CollectionResponsePropertyGroupNoPaging.php +++ b/codegen/Crm/Properties/Model/CollectionResponsePropertyGroupNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Properties/Model/CollectionResponsePropertyNoPaging.php b/codegen/Crm/Properties/Model/CollectionResponsePropertyNoPaging.php index 283f43c95..52eeb59c0 100644 --- a/codegen/Crm/Properties/Model/CollectionResponsePropertyNoPaging.php +++ b/codegen/Crm/Properties/Model/CollectionResponsePropertyNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Properties/Model/Error.php b/codegen/Crm/Properties/Model/Error.php index d5d373d6f..7bfa0f0fe 100644 --- a/codegen/Crm/Properties/Model/Error.php +++ b/codegen/Crm/Properties/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/ErrorDetail.php b/codegen/Crm/Properties/Model/ErrorDetail.php index f7c888247..55da58c35 100644 --- a/codegen/Crm/Properties/Model/ErrorDetail.php +++ b/codegen/Crm/Properties/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/Option.php b/codegen/Crm/Properties/Model/Option.php index 105d0cd6f..8af40697a 100644 --- a/codegen/Crm/Properties/Model/Option.php +++ b/codegen/Crm/Properties/Model/Option.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hidden', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/OptionInput.php b/codegen/Crm/Properties/Model/OptionInput.php index e461b9d94..ecf59fca5 100644 --- a/codegen/Crm/Properties/Model/OptionInput.php +++ b/codegen/Crm/Properties/Model/OptionInput.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hidden', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/Property.php b/codegen/Crm/Properties/Model/Property.php index bfee4da14..ffb9b4f43 100644 --- a/codegen/Crm/Properties/Model/Property.php +++ b/codegen/Crm/Properties/Model/Property.php @@ -377,10 +377,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_user_id', $data ?? [], null); $this->setIfExists('hidden', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/PropertyCreate.php b/codegen/Crm/Properties/Model/PropertyCreate.php index eaf932b37..cfaf2d7e1 100644 --- a/codegen/Crm/Properties/Model/PropertyCreate.php +++ b/codegen/Crm/Properties/Model/PropertyCreate.php @@ -371,10 +371,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hidden', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/PropertyGroup.php b/codegen/Crm/Properties/Model/PropertyGroup.php index d2060d04a..54c903776 100644 --- a/codegen/Crm/Properties/Model/PropertyGroup.php +++ b/codegen/Crm/Properties/Model/PropertyGroup.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('archived', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/PropertyGroupCreate.php b/codegen/Crm/Properties/Model/PropertyGroupCreate.php index 419cb80bd..54ba49572 100644 --- a/codegen/Crm/Properties/Model/PropertyGroupCreate.php +++ b/codegen/Crm/Properties/Model/PropertyGroupCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/PropertyGroupUpdate.php b/codegen/Crm/Properties/Model/PropertyGroupUpdate.php index a6cb2f2dd..80cf1b251 100644 --- a/codegen/Crm/Properties/Model/PropertyGroupUpdate.php +++ b/codegen/Crm/Properties/Model/PropertyGroupUpdate.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('display_order', $data ?? [], null); $this->setIfExists('label', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/PropertyModificationMetadata.php b/codegen/Crm/Properties/Model/PropertyModificationMetadata.php index 6dcddd267..a2620d5ab 100644 --- a/codegen/Crm/Properties/Model/PropertyModificationMetadata.php +++ b/codegen/Crm/Properties/Model/PropertyModificationMetadata.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('read_only_options', $data ?? [], null); $this->setIfExists('read_only_value', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/PropertyName.php b/codegen/Crm/Properties/Model/PropertyName.php index 629cec336..3e8b5bace 100644 --- a/codegen/Crm/Properties/Model/PropertyName.php +++ b/codegen/Crm/Properties/Model/PropertyName.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('name', $data ?? [], null); } diff --git a/codegen/Crm/Properties/Model/PropertyUpdate.php b/codegen/Crm/Properties/Model/PropertyUpdate.php index bcda9d448..23ab0cb3f 100644 --- a/codegen/Crm/Properties/Model/PropertyUpdate.php +++ b/codegen/Crm/Properties/Model/PropertyUpdate.php @@ -347,10 +347,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('group_name', $data ?? [], null); $this->setIfExists('hidden', $data ?? [], null); diff --git a/codegen/Crm/Properties/Model/StandardError.php b/codegen/Crm/Properties/Model/StandardError.php index 29fbb2df4..e164106d4 100644 --- a/codegen/Crm/Properties/Model/StandardError.php +++ b/codegen/Crm/Properties/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Api/BasicApi.php b/codegen/Crm/Quotes/Api/BasicApi.php index f66c9ae2a..fc7927736 100644 --- a/codegen/Crm/Quotes/Api/BasicApi.php +++ b/codegen/Crm/Quotes/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Quotes/Api/BatchApi.php b/codegen/Crm/Quotes/Api/BatchApi.php index 319fa3d49..886f0abb6 100644 --- a/codegen/Crm/Quotes/Api/BatchApi.php +++ b/codegen/Crm/Quotes/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Quotes/Api/SearchApi.php b/codegen/Crm/Quotes/Api/SearchApi.php index 6d344978d..7f074cfa0 100644 --- a/codegen/Crm/Quotes/Api/SearchApi.php +++ b/codegen/Crm/Quotes/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Quotes/Configuration.php b/codegen/Crm/Quotes/Configuration.php index 2c772cd92..b1515fe03 100644 --- a/codegen/Crm/Quotes/Configuration.php +++ b/codegen/Crm/Quotes/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Quotes/Model/AssociatedId.php b/codegen/Crm/Quotes/Model/AssociatedId.php index 6ab301772..2c643b207 100644 --- a/codegen/Crm/Quotes/Model/AssociatedId.php +++ b/codegen/Crm/Quotes/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/AssociationSpec.php b/codegen/Crm/Quotes/Model/AssociationSpec.php index 6433584c7..eadc770d9 100644 --- a/codegen/Crm/Quotes/Model/AssociationSpec.php +++ b/codegen/Crm/Quotes/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInput.php index 0296cb481..f8c4d0892 100644 --- a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 7f9883697..50d705edd 100644 --- a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectId.php index cfeddc8c8..b46d489a5 100644 --- a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectInputForCreate.php index 5f34d9d35..e46505c11 100644 --- a/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Quotes/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Quotes/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Quotes/Model/BatchReadInputSimplePublicObjectId.php index 19764a3a0..14313fa24 100644 --- a/codegen/Crm/Quotes/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Quotes/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObject.php index 36a0e4bac..cb2986e06 100644 --- a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObjectWithErrors.php index ff27b9d8e..252f50e1e 100644 --- a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicUpsertObject.php index 337a2b567..180d8953e 100644 --- a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index e55a16e9d..0d9e074d6 100644 --- a/codegen/Crm/Quotes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Quotes/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Quotes/Model/CollectionResponseAssociatedId.php index f1c19a1b8..95621580b 100644 --- a/codegen/Crm/Quotes/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Quotes/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Quotes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 6ead8106e..8b7828393 100644 --- a/codegen/Crm/Quotes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Quotes/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Quotes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 989cc7f73..53ac574e2 100644 --- a/codegen/Crm/Quotes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Quotes/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/Error.php b/codegen/Crm/Quotes/Model/Error.php index f41dc9530..251f0b000 100644 --- a/codegen/Crm/Quotes/Model/Error.php +++ b/codegen/Crm/Quotes/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/ErrorDetail.php b/codegen/Crm/Quotes/Model/ErrorDetail.php index 79d4f8d0d..49e67ae76 100644 --- a/codegen/Crm/Quotes/Model/ErrorDetail.php +++ b/codegen/Crm/Quotes/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/Filter.php b/codegen/Crm/Quotes/Model/Filter.php index 56340a3db..fade21711 100644 --- a/codegen/Crm/Quotes/Model/Filter.php +++ b/codegen/Crm/Quotes/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/FilterGroup.php b/codegen/Crm/Quotes/Model/FilterGroup.php index d8adc9421..0962f96ea 100644 --- a/codegen/Crm/Quotes/Model/FilterGroup.php +++ b/codegen/Crm/Quotes/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Quotes/Model/ForwardPaging.php b/codegen/Crm/Quotes/Model/ForwardPaging.php index a4139a0f5..122417393 100644 --- a/codegen/Crm/Quotes/Model/ForwardPaging.php +++ b/codegen/Crm/Quotes/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Quotes/Model/NextPage.php b/codegen/Crm/Quotes/Model/NextPage.php index bab432e25..20eb051fa 100644 --- a/codegen/Crm/Quotes/Model/NextPage.php +++ b/codegen/Crm/Quotes/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/Paging.php b/codegen/Crm/Quotes/Model/Paging.php index 3bf3c9ebc..f114a067f 100644 --- a/codegen/Crm/Quotes/Model/Paging.php +++ b/codegen/Crm/Quotes/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/PreviousPage.php b/codegen/Crm/Quotes/Model/PreviousPage.php index bbc16d4f2..700cee323 100644 --- a/codegen/Crm/Quotes/Model/PreviousPage.php +++ b/codegen/Crm/Quotes/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/PublicAssociationsForObject.php b/codegen/Crm/Quotes/Model/PublicAssociationsForObject.php index 9422a87e3..2d03134c0 100644 --- a/codegen/Crm/Quotes/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Quotes/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/PublicObjectId.php b/codegen/Crm/Quotes/Model/PublicObjectId.php index 81395ce8b..d75be9a19 100644 --- a/codegen/Crm/Quotes/Model/PublicObjectId.php +++ b/codegen/Crm/Quotes/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Quotes/Model/PublicObjectSearchRequest.php b/codegen/Crm/Quotes/Model/PublicObjectSearchRequest.php index b88c443fa..30af2604f 100644 --- a/codegen/Crm/Quotes/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Quotes/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/SimplePublicObject.php b/codegen/Crm/Quotes/Model/SimplePublicObject.php index 46cda4af2..ececb31ed 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObject.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInput.php index db0e92852..4100a8759 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInputUpsert.php index 107f342b9..59485fc40 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectId.php b/codegen/Crm/Quotes/Model/SimplePublicObjectId.php index f16de7731..2c943ad87 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectInput.php b/codegen/Crm/Quotes/Model/SimplePublicObjectInput.php index ea7998ea1..a081ac035 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Quotes/Model/SimplePublicObjectInputForCreate.php index 74ad90fdd..0a40210ae 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Quotes/Model/SimplePublicObjectWithAssociations.php index 39bb32178..dc7992278 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Quotes/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/SimplePublicUpsertObject.php b/codegen/Crm/Quotes/Model/SimplePublicUpsertObject.php index 9859b5bf3..8a3929336 100644 --- a/codegen/Crm/Quotes/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Quotes/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/StandardError.php b/codegen/Crm/Quotes/Model/StandardError.php index 813c74be4..fbed8242f 100644 --- a/codegen/Crm/Quotes/Model/StandardError.php +++ b/codegen/Crm/Quotes/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Quotes/Model/ValueWithTimestamp.php b/codegen/Crm/Quotes/Model/ValueWithTimestamp.php index b26ea7786..dc6b9d3c6 100644 --- a/codegen/Crm/Quotes/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Quotes/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Api/CoreApi.php b/codegen/Crm/Schemas/Api/CoreApi.php index 8b85101d7..5730f2b78 100644 --- a/codegen/Crm/Schemas/Api/CoreApi.php +++ b/codegen/Crm/Schemas/Api/CoreApi.php @@ -95,15 +95,15 @@ class CoreApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Schemas/Configuration.php b/codegen/Crm/Schemas/Configuration.php index 9af957467..93fd6f359 100644 --- a/codegen/Crm/Schemas/Configuration.php +++ b/codegen/Crm/Schemas/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Schemas/Model/AssociationDefinition.php b/codegen/Crm/Schemas/Model/AssociationDefinition.php index de38b5b10..d26556e34 100644 --- a/codegen/Crm/Schemas/Model/AssociationDefinition.php +++ b/codegen/Crm/Schemas/Model/AssociationDefinition.php @@ -270,10 +270,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('from_object_type_id', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/AssociationDefinitionEgg.php b/codegen/Crm/Schemas/Model/AssociationDefinitionEgg.php index 232a0ac3d..916188794 100644 --- a/codegen/Crm/Schemas/Model/AssociationDefinitionEgg.php +++ b/codegen/Crm/Schemas/Model/AssociationDefinitionEgg.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('from_object_type_id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/CollectionResponseObjectSchemaNoPaging.php b/codegen/Crm/Schemas/Model/CollectionResponseObjectSchemaNoPaging.php index 4d89fafd7..639650893 100644 --- a/codegen/Crm/Schemas/Model/CollectionResponseObjectSchemaNoPaging.php +++ b/codegen/Crm/Schemas/Model/CollectionResponseObjectSchemaNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Schemas/Model/Error.php b/codegen/Crm/Schemas/Model/Error.php index 9d436fe18..aa09e1347 100644 --- a/codegen/Crm/Schemas/Model/Error.php +++ b/codegen/Crm/Schemas/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/ErrorDetail.php b/codegen/Crm/Schemas/Model/ErrorDetail.php index f1c49975e..f2813c8b2 100644 --- a/codegen/Crm/Schemas/Model/ErrorDetail.php +++ b/codegen/Crm/Schemas/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/ObjectSchema.php b/codegen/Crm/Schemas/Model/ObjectSchema.php index 13fdc0b5d..e194506db 100644 --- a/codegen/Crm/Schemas/Model/ObjectSchema.php +++ b/codegen/Crm/Schemas/Model/ObjectSchema.php @@ -336,10 +336,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('secondary_display_properties', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/ObjectSchemaEgg.php b/codegen/Crm/Schemas/Model/ObjectSchemaEgg.php index 4753a5089..cbc7fe84a 100644 --- a/codegen/Crm/Schemas/Model/ObjectSchemaEgg.php +++ b/codegen/Crm/Schemas/Model/ObjectSchemaEgg.php @@ -288,10 +288,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('secondary_display_properties', $data ?? [], null); $this->setIfExists('required_properties', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/ObjectTypeDefinition.php b/codegen/Crm/Schemas/Model/ObjectTypeDefinition.php index cc482369e..52a6fb019 100644 --- a/codegen/Crm/Schemas/Model/ObjectTypeDefinition.php +++ b/codegen/Crm/Schemas/Model/ObjectTypeDefinition.php @@ -318,10 +318,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('secondary_display_properties', $data ?? [], null); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/ObjectTypeDefinitionLabels.php b/codegen/Crm/Schemas/Model/ObjectTypeDefinitionLabels.php index a603bb11a..958a44e9f 100644 --- a/codegen/Crm/Schemas/Model/ObjectTypeDefinitionLabels.php +++ b/codegen/Crm/Schemas/Model/ObjectTypeDefinitionLabels.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('plural', $data ?? [], null); $this->setIfExists('singular', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/ObjectTypeDefinitionPatch.php b/codegen/Crm/Schemas/Model/ObjectTypeDefinitionPatch.php index 7a1fde562..a11f6c380 100644 --- a/codegen/Crm/Schemas/Model/ObjectTypeDefinitionPatch.php +++ b/codegen/Crm/Schemas/Model/ObjectTypeDefinitionPatch.php @@ -282,10 +282,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('secondary_display_properties', $data ?? [], null); $this->setIfExists('required_properties', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/ObjectTypePropertyCreate.php b/codegen/Crm/Schemas/Model/ObjectTypePropertyCreate.php index bd935ec81..55c31a0a7 100644 --- a/codegen/Crm/Schemas/Model/ObjectTypePropertyCreate.php +++ b/codegen/Crm/Schemas/Model/ObjectTypePropertyCreate.php @@ -424,10 +424,10 @@ public function getNumberDisplayHintAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hidden', $data ?? [], null); $this->setIfExists('option_sort_strategy', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/Option.php b/codegen/Crm/Schemas/Model/Option.php index ae1608b70..27ad29736 100644 --- a/codegen/Crm/Schemas/Model/Option.php +++ b/codegen/Crm/Schemas/Model/Option.php @@ -264,10 +264,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hidden', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/OptionInput.php b/codegen/Crm/Schemas/Model/OptionInput.php index f69041526..8f7fb6769 100644 --- a/codegen/Crm/Schemas/Model/OptionInput.php +++ b/codegen/Crm/Schemas/Model/OptionInput.php @@ -264,10 +264,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hidden', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/Property.php b/codegen/Crm/Schemas/Model/Property.php index 68a24764a..d586ed0b5 100644 --- a/codegen/Crm/Schemas/Model/Property.php +++ b/codegen/Crm/Schemas/Model/Property.php @@ -407,10 +407,10 @@ public function getDataSensitivityAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hidden', $data ?? [], null); $this->setIfExists('display_order', $data ?? [], null); diff --git a/codegen/Crm/Schemas/Model/PropertyModificationMetadata.php b/codegen/Crm/Schemas/Model/PropertyModificationMetadata.php index ac8224856..93b2541ff 100644 --- a/codegen/Crm/Schemas/Model/PropertyModificationMetadata.php +++ b/codegen/Crm/Schemas/Model/PropertyModificationMetadata.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('read_only_options', $data ?? [], null); $this->setIfExists('read_only_value', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Api/BasicApi.php b/codegen/Crm/Tickets/Api/BasicApi.php index e4c2b8b70..af4594c69 100644 --- a/codegen/Crm/Tickets/Api/BasicApi.php +++ b/codegen/Crm/Tickets/Api/BasicApi.php @@ -89,15 +89,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Tickets/Api/BatchApi.php b/codegen/Crm/Tickets/Api/BatchApi.php index 7df5f9c2d..aaf52eebd 100644 --- a/codegen/Crm/Tickets/Api/BatchApi.php +++ b/codegen/Crm/Tickets/Api/BatchApi.php @@ -89,15 +89,15 @@ class BatchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Tickets/Api/MergeApi.php b/codegen/Crm/Tickets/Api/MergeApi.php index beaa5018f..c43863caa 100644 --- a/codegen/Crm/Tickets/Api/MergeApi.php +++ b/codegen/Crm/Tickets/Api/MergeApi.php @@ -77,15 +77,15 @@ class MergeApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Tickets/Api/SearchApi.php b/codegen/Crm/Tickets/Api/SearchApi.php index e8ec3350a..ef234c1cc 100644 --- a/codegen/Crm/Tickets/Api/SearchApi.php +++ b/codegen/Crm/Tickets/Api/SearchApi.php @@ -77,15 +77,15 @@ class SearchApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Tickets/Configuration.php b/codegen/Crm/Tickets/Configuration.php index 3dff23171..0dcd18cb3 100644 --- a/codegen/Crm/Tickets/Configuration.php +++ b/codegen/Crm/Tickets/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Tickets/Model/AssociatedId.php b/codegen/Crm/Tickets/Model/AssociatedId.php index f9ff8cbdb..998d5a993 100644 --- a/codegen/Crm/Tickets/Model/AssociatedId.php +++ b/codegen/Crm/Tickets/Model/AssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); $this->setIfExists('type', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/AssociationSpec.php b/codegen/Crm/Tickets/Model/AssociationSpec.php index eb0290e20..a38622b54 100644 --- a/codegen/Crm/Tickets/Model/AssociationSpec.php +++ b/codegen/Crm/Tickets/Model/AssociationSpec.php @@ -262,10 +262,10 @@ public function getAssociationCategoryAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('association_category', $data ?? [], null); $this->setIfExists('association_type_id', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInput.php b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInput.php index e85031332..bf5f250d6 100644 --- a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInput.php +++ b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInput.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInputUpsert.php index 4275c4974..bd5dc647c 100644 --- a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectBatchInputUpsert.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectId.php b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectId.php index 6d4410422..aa7843010 100644 --- a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectId.php +++ b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectInputForCreate.php b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectInputForCreate.php index 5cdb06941..8fbf20a5a 100644 --- a/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Tickets/Model/BatchInputSimplePublicObjectInputForCreate.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Tickets/Model/BatchReadInputSimplePublicObjectId.php b/codegen/Crm/Tickets/Model/BatchReadInputSimplePublicObjectId.php index 926bc13ff..89336ab9e 100644 --- a/codegen/Crm/Tickets/Model/BatchReadInputSimplePublicObjectId.php +++ b/codegen/Crm/Tickets/Model/BatchReadInputSimplePublicObjectId.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('properties_with_history', $data ?? [], null); $this->setIfExists('id_property', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObject.php b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObject.php index 8e67df2d8..2f9ef2aa3 100644 --- a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObject.php +++ b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObjectWithErrors.php b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObjectWithErrors.php index 593ee1c9a..94edaa6bb 100644 --- a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObjectWithErrors.php +++ b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicUpsertObject.php b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicUpsertObject.php index fd8502e5a..94a05783f 100644 --- a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicUpsertObject.php +++ b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicUpsertObject.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php index 4ac93f3f7..039dd3d89 100644 --- a/codegen/Crm/Tickets/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php +++ b/codegen/Crm/Tickets/Model/BatchResponseSimplePublicUpsertObjectWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/CollectionResponseAssociatedId.php b/codegen/Crm/Tickets/Model/CollectionResponseAssociatedId.php index 6a3489ecd..b25a807e3 100644 --- a/codegen/Crm/Tickets/Model/CollectionResponseAssociatedId.php +++ b/codegen/Crm/Tickets/Model/CollectionResponseAssociatedId.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php b/codegen/Crm/Tickets/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php index 9248790bb..68e755457 100644 --- a/codegen/Crm/Tickets/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php +++ b/codegen/Crm/Tickets/Model/CollectionResponseSimplePublicObjectWithAssociationsForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php b/codegen/Crm/Tickets/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php index 0e78609fd..a4324f71f 100644 --- a/codegen/Crm/Tickets/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php +++ b/codegen/Crm/Tickets/Model/CollectionResponseWithTotalSimplePublicObjectForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/Error.php b/codegen/Crm/Tickets/Model/Error.php index 1def01ada..cc0f5f3bd 100644 --- a/codegen/Crm/Tickets/Model/Error.php +++ b/codegen/Crm/Tickets/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/ErrorDetail.php b/codegen/Crm/Tickets/Model/ErrorDetail.php index 051532703..693be5d2b 100644 --- a/codegen/Crm/Tickets/Model/ErrorDetail.php +++ b/codegen/Crm/Tickets/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/Filter.php b/codegen/Crm/Tickets/Model/Filter.php index 9e3b56e5a..a099aed1d 100644 --- a/codegen/Crm/Tickets/Model/Filter.php +++ b/codegen/Crm/Tickets/Model/Filter.php @@ -300,10 +300,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('high_value', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/FilterGroup.php b/codegen/Crm/Tickets/Model/FilterGroup.php index 01a35ff27..98c53a26e 100644 --- a/codegen/Crm/Tickets/Model/FilterGroup.php +++ b/codegen/Crm/Tickets/Model/FilterGroup.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('filters', $data ?? [], null); } diff --git a/codegen/Crm/Tickets/Model/ForwardPaging.php b/codegen/Crm/Tickets/Model/ForwardPaging.php index 543e581ba..6895fb7f6 100644 --- a/codegen/Crm/Tickets/Model/ForwardPaging.php +++ b/codegen/Crm/Tickets/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Crm/Tickets/Model/NextPage.php b/codegen/Crm/Tickets/Model/NextPage.php index bcb4233a2..70225d36b 100644 --- a/codegen/Crm/Tickets/Model/NextPage.php +++ b/codegen/Crm/Tickets/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/Paging.php b/codegen/Crm/Tickets/Model/Paging.php index a9cb3aa6b..941ee27da 100644 --- a/codegen/Crm/Tickets/Model/Paging.php +++ b/codegen/Crm/Tickets/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/PreviousPage.php b/codegen/Crm/Tickets/Model/PreviousPage.php index 405402c12..ffbf35977 100644 --- a/codegen/Crm/Tickets/Model/PreviousPage.php +++ b/codegen/Crm/Tickets/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/PublicAssociationsForObject.php b/codegen/Crm/Tickets/Model/PublicAssociationsForObject.php index 8e79f8e54..7a6601439 100644 --- a/codegen/Crm/Tickets/Model/PublicAssociationsForObject.php +++ b/codegen/Crm/Tickets/Model/PublicAssociationsForObject.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('types', $data ?? [], null); $this->setIfExists('to', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/PublicMergeInput.php b/codegen/Crm/Tickets/Model/PublicMergeInput.php index 3cf573d3f..75c9e7099 100644 --- a/codegen/Crm/Tickets/Model/PublicMergeInput.php +++ b/codegen/Crm/Tickets/Model/PublicMergeInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_id_to_merge', $data ?? [], null); $this->setIfExists('primary_object_id', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/PublicObjectId.php b/codegen/Crm/Tickets/Model/PublicObjectId.php index 661d07c56..bf1b8784b 100644 --- a/codegen/Crm/Tickets/Model/PublicObjectId.php +++ b/codegen/Crm/Tickets/Model/PublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Tickets/Model/PublicObjectSearchRequest.php b/codegen/Crm/Tickets/Model/PublicObjectSearchRequest.php index 072e6265e..50b95d327 100644 --- a/codegen/Crm/Tickets/Model/PublicObjectSearchRequest.php +++ b/codegen/Crm/Tickets/Model/PublicObjectSearchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('query', $data ?? [], null); $this->setIfExists('limit', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/SimplePublicObject.php b/codegen/Crm/Tickets/Model/SimplePublicObject.php index b5c5e8060..8293c64a2 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObject.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObject.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInput.php b/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInput.php index fddd449cb..e1263ce00 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInput.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInput.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInputUpsert.php b/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInputUpsert.php index 1562434b5..ac237b11f 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInputUpsert.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectBatchInputUpsert.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id_property', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectId.php b/codegen/Crm/Tickets/Model/SimplePublicObjectId.php index 76a5772b5..b935d580c 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectId.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectId.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('id', $data ?? [], null); } diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectInput.php b/codegen/Crm/Tickets/Model/SimplePublicObjectInput.php index 59a7df66f..1f945d74e 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectInput.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectInput.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_write_trace_id', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectInputForCreate.php b/codegen/Crm/Tickets/Model/SimplePublicObjectInputForCreate.php index da8f6e6e2..8dab4bf41 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectInputForCreate.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectInputForCreate.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('object_write_trace_id', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/SimplePublicObjectWithAssociations.php b/codegen/Crm/Tickets/Model/SimplePublicObjectWithAssociations.php index dc81abd10..babdd1eec 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicObjectWithAssociations.php +++ b/codegen/Crm/Tickets/Model/SimplePublicObjectWithAssociations.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/SimplePublicUpsertObject.php b/codegen/Crm/Tickets/Model/SimplePublicUpsertObject.php index 7244e852f..de91bcfc9 100644 --- a/codegen/Crm/Tickets/Model/SimplePublicUpsertObject.php +++ b/codegen/Crm/Tickets/Model/SimplePublicUpsertObject.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/StandardError.php b/codegen/Crm/Tickets/Model/StandardError.php index 45b4b2693..2ecd8f7fe 100644 --- a/codegen/Crm/Tickets/Model/StandardError.php +++ b/codegen/Crm/Tickets/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Tickets/Model/ValueWithTimestamp.php b/codegen/Crm/Tickets/Model/ValueWithTimestamp.php index a61b8c614..5f5585ae7 100644 --- a/codegen/Crm/Tickets/Model/ValueWithTimestamp.php +++ b/codegen/Crm/Tickets/Model/ValueWithTimestamp.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('source_type', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Api/EventsApi.php b/codegen/Crm/Timeline/Api/EventsApi.php index 7c0988137..72328ff3c 100644 --- a/codegen/Crm/Timeline/Api/EventsApi.php +++ b/codegen/Crm/Timeline/Api/EventsApi.php @@ -89,15 +89,15 @@ class EventsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Timeline/Api/TemplatesApi.php b/codegen/Crm/Timeline/Api/TemplatesApi.php index d547f1886..ce14fce79 100644 --- a/codegen/Crm/Timeline/Api/TemplatesApi.php +++ b/codegen/Crm/Timeline/Api/TemplatesApi.php @@ -89,15 +89,15 @@ class TemplatesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Timeline/Api/TokensApi.php b/codegen/Crm/Timeline/Api/TokensApi.php index 9bd20c38b..b2cee0218 100644 --- a/codegen/Crm/Timeline/Api/TokensApi.php +++ b/codegen/Crm/Timeline/Api/TokensApi.php @@ -83,15 +83,15 @@ class TokensApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Crm/Timeline/Configuration.php b/codegen/Crm/Timeline/Configuration.php index 539fcf3c1..2a5c07c74 100644 --- a/codegen/Crm/Timeline/Configuration.php +++ b/codegen/Crm/Timeline/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Crm/Timeline/Model/BatchInputTimelineEvent.php b/codegen/Crm/Timeline/Model/BatchInputTimelineEvent.php index 7d5d3b54e..eb5fb9efe 100644 --- a/codegen/Crm/Timeline/Model/BatchInputTimelineEvent.php +++ b/codegen/Crm/Timeline/Model/BatchInputTimelineEvent.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponse.php b/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponse.php index 4c656ce5d..f6ab0a590 100644 --- a/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponse.php +++ b/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponse.php @@ -289,10 +289,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponseWithErrors.php b/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponseWithErrors.php index c6a9327b1..5bc40c7bc 100644 --- a/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponseWithErrors.php +++ b/codegen/Crm/Timeline/Model/BatchResponseTimelineEventResponseWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/CollectionResponseTimelineEventTemplateNoPaging.php b/codegen/Crm/Timeline/Model/CollectionResponseTimelineEventTemplateNoPaging.php index 14ebd3538..cea9afeca 100644 --- a/codegen/Crm/Timeline/Model/CollectionResponseTimelineEventTemplateNoPaging.php +++ b/codegen/Crm/Timeline/Model/CollectionResponseTimelineEventTemplateNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Crm/Timeline/Model/Error.php b/codegen/Crm/Timeline/Model/Error.php index cbda8f1a7..d6a6c65f3 100644 --- a/codegen/Crm/Timeline/Model/Error.php +++ b/codegen/Crm/Timeline/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/ErrorDetail.php b/codegen/Crm/Timeline/Model/ErrorDetail.php index a7c3ba199..a1f2d1a0e 100644 --- a/codegen/Crm/Timeline/Model/ErrorDetail.php +++ b/codegen/Crm/Timeline/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/EventDetail.php b/codegen/Crm/Timeline/Model/EventDetail.php index db2f07ad4..109939d95 100644 --- a/codegen/Crm/Timeline/Model/EventDetail.php +++ b/codegen/Crm/Timeline/Model/EventDetail.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('details', $data ?? [], null); } diff --git a/codegen/Crm/Timeline/Model/StandardError.php b/codegen/Crm/Timeline/Model/StandardError.php index 014d09b30..89fbbc48b 100644 --- a/codegen/Crm/Timeline/Model/StandardError.php +++ b/codegen/Crm/Timeline/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEvent.php b/codegen/Crm/Timeline/Model/TimelineEvent.php index 235df1adc..2883f2319 100644 --- a/codegen/Crm/Timeline/Model/TimelineEvent.php +++ b/codegen/Crm/Timeline/Model/TimelineEvent.php @@ -294,10 +294,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('event_template_id', $data ?? [], null); $this->setIfExists('extra_data', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEventIFrame.php b/codegen/Crm/Timeline/Model/TimelineEventIFrame.php index 9ec36779a..0c56de7ac 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventIFrame.php +++ b/codegen/Crm/Timeline/Model/TimelineEventIFrame.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link_label', $data ?? [], null); $this->setIfExists('header_label', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEventResponse.php b/codegen/Crm/Timeline/Model/TimelineEventResponse.php index 18673d66d..84a03a1e6 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventResponse.php +++ b/codegen/Crm/Timeline/Model/TimelineEventResponse.php @@ -306,10 +306,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('event_template_id', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplate.php b/codegen/Crm/Timeline/Model/TimelineEventTemplate.php index d12368abc..d5889cc1d 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplate.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplate.php @@ -282,10 +282,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('detail_template', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateCreateRequest.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateCreateRequest.php index f1272352e..f5dcfbae1 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateCreateRequest.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateCreateRequest.php @@ -264,10 +264,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail_template', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateToken.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateToken.php index fdc96257f..39ff8fae8 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateToken.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateToken.php @@ -295,10 +295,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('options', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenOption.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenOption.php index fc19842f2..4876171b1 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenOption.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenOption.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('label', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenUpdateRequest.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenUpdateRequest.php index ae19366f0..f995c3c86 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenUpdateRequest.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateTokenUpdateRequest.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('options', $data ?? [], null); $this->setIfExists('label', $data ?? [], null); diff --git a/codegen/Crm/Timeline/Model/TimelineEventTemplateUpdateRequest.php b/codegen/Crm/Timeline/Model/TimelineEventTemplateUpdateRequest.php index d807c71fd..e42c97845 100644 --- a/codegen/Crm/Timeline/Model/TimelineEventTemplateUpdateRequest.php +++ b/codegen/Crm/Timeline/Model/TimelineEventTemplateUpdateRequest.php @@ -264,10 +264,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('detail_template', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Events/Api/EventsApi.php b/codegen/Events/Api/EventsApi.php index 65b806758..26a89a703 100644 --- a/codegen/Events/Api/EventsApi.php +++ b/codegen/Events/Api/EventsApi.php @@ -80,15 +80,15 @@ class EventsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Events/Configuration.php b/codegen/Events/Configuration.php index 4a3add48b..6f2a9a8ab 100644 --- a/codegen/Events/Configuration.php +++ b/codegen/Events/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Events/Model/CollectionResponseExternalUnifiedEvent.php b/codegen/Events/Model/CollectionResponseExternalUnifiedEvent.php index db71a36b6..ebaacc132 100644 --- a/codegen/Events/Model/CollectionResponseExternalUnifiedEvent.php +++ b/codegen/Events/Model/CollectionResponseExternalUnifiedEvent.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Events/Model/Error.php b/codegen/Events/Model/Error.php index 831450082..c1792b277 100644 --- a/codegen/Events/Model/Error.php +++ b/codegen/Events/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Events/Model/ErrorDetail.php b/codegen/Events/Model/ErrorDetail.php index 8fa88d454..c4703c595 100644 --- a/codegen/Events/Model/ErrorDetail.php +++ b/codegen/Events/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Events/Model/ExternalUnifiedEvent.php b/codegen/Events/Model/ExternalUnifiedEvent.php index af6bef09d..6104f7f64 100644 --- a/codegen/Events/Model/ExternalUnifiedEvent.php +++ b/codegen/Events/Model/ExternalUnifiedEvent.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('occurred_at', $data ?? [], null); $this->setIfExists('event_type', $data ?? [], null); diff --git a/codegen/Events/Model/NextPage.php b/codegen/Events/Model/NextPage.php index d6d4e1677..fa401941f 100644 --- a/codegen/Events/Model/NextPage.php +++ b/codegen/Events/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Events/Model/Paging.php b/codegen/Events/Model/Paging.php index dfc89528d..feb8bf03f 100644 --- a/codegen/Events/Model/Paging.php +++ b/codegen/Events/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Events/Model/PreviousPage.php b/codegen/Events/Model/PreviousPage.php index 498d11195..195913440 100644 --- a/codegen/Events/Model/PreviousPage.php +++ b/codegen/Events/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Events/Model/VisibleExternalEventTypeNames.php b/codegen/Events/Model/VisibleExternalEventTypeNames.php index 969221b04..b4e918d61 100644 --- a/codegen/Events/Model/VisibleExternalEventTypeNames.php +++ b/codegen/Events/Model/VisibleExternalEventTypeNames.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('event_types', $data ?? [], null); } diff --git a/codegen/Events/Send/Api/CustomEventDataApi.php b/codegen/Events/Send/Api/CustomEventDataApi.php index 984c96ac8..cd78388cb 100644 --- a/codegen/Events/Send/Api/CustomEventDataApi.php +++ b/codegen/Events/Send/Api/CustomEventDataApi.php @@ -77,15 +77,15 @@ class CustomEventDataApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Events/Send/Configuration.php b/codegen/Events/Send/Configuration.php index ea6b73539..8029fd976 100644 --- a/codegen/Events/Send/Configuration.php +++ b/codegen/Events/Send/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Events/Send/Model/BehavioralEventHttpCompletionRequest.php b/codegen/Events/Send/Model/BehavioralEventHttpCompletionRequest.php index a413cae81..8c7395327 100644 --- a/codegen/Events/Send/Model/BehavioralEventHttpCompletionRequest.php +++ b/codegen/Events/Send/Model/BehavioralEventHttpCompletionRequest.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('occurred_at', $data ?? [], null); $this->setIfExists('event_name', $data ?? [], null); diff --git a/codegen/Events/Send/Model/Error.php b/codegen/Events/Send/Model/Error.php index 3b6aa5abd..0b3aec74f 100644 --- a/codegen/Events/Send/Model/Error.php +++ b/codegen/Events/Send/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Events/Send/Model/ErrorDetail.php b/codegen/Events/Send/Model/ErrorDetail.php index 7925b09e9..3336e54ed 100644 --- a/codegen/Events/Send/Model/ErrorDetail.php +++ b/codegen/Events/Send/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Files/Api/FilesApi.php b/codegen/Files/Api/FilesApi.php index 8f0044e09..ca471ba5e 100644 --- a/codegen/Files/Api/FilesApi.php +++ b/codegen/Files/Api/FilesApi.php @@ -107,15 +107,15 @@ class FilesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Files/Api/FoldersApi.php b/codegen/Files/Api/FoldersApi.php index 2eb954881..3710e3721 100644 --- a/codegen/Files/Api/FoldersApi.php +++ b/codegen/Files/Api/FoldersApi.php @@ -98,15 +98,15 @@ class FoldersApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Files/Configuration.php b/codegen/Files/Configuration.php index ffcbf3576..1f087d3aa 100644 --- a/codegen/Files/Configuration.php +++ b/codegen/Files/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Files/Model/CollectionResponseFile.php b/codegen/Files/Model/CollectionResponseFile.php index afba8dae8..7b5559190 100644 --- a/codegen/Files/Model/CollectionResponseFile.php +++ b/codegen/Files/Model/CollectionResponseFile.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Files/Model/CollectionResponseFolder.php b/codegen/Files/Model/CollectionResponseFolder.php index 6450853fb..dcd58d620 100644 --- a/codegen/Files/Model/CollectionResponseFolder.php +++ b/codegen/Files/Model/CollectionResponseFolder.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Files/Model/Error.php b/codegen/Files/Model/Error.php index f956fa493..f8bf28d28 100644 --- a/codegen/Files/Model/Error.php +++ b/codegen/Files/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Files/Model/ErrorDetail.php b/codegen/Files/Model/ErrorDetail.php index 43ad3441f..d8249306d 100644 --- a/codegen/Files/Model/ErrorDetail.php +++ b/codegen/Files/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Files/Model/File.php b/codegen/Files/Model/File.php index c8898f3ae..1adaeac09 100644 --- a/codegen/Files/Model/File.php +++ b/codegen/Files/Model/File.php @@ -371,10 +371,10 @@ public function getAccessAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('extension', $data ?? [], null); $this->setIfExists('access', $data ?? [], null); diff --git a/codegen/Files/Model/FileActionResponse.php b/codegen/Files/Model/FileActionResponse.php index 71cce8cbd..565723b8c 100644 --- a/codegen/Files/Model/FileActionResponse.php +++ b/codegen/Files/Model/FileActionResponse.php @@ -306,10 +306,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('result', $data ?? [], null); $this->setIfExists('completed_at', $data ?? [], null); diff --git a/codegen/Files/Model/FileStat.php b/codegen/Files/Model/FileStat.php index 786318a7e..f757badc7 100644 --- a/codegen/Files/Model/FileStat.php +++ b/codegen/Files/Model/FileStat.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('file', $data ?? [], null); $this->setIfExists('folder', $data ?? [], null); diff --git a/codegen/Files/Model/FileUpdateInput.php b/codegen/Files/Model/FileUpdateInput.php index 03d415efc..5fff60a35 100644 --- a/codegen/Files/Model/FileUpdateInput.php +++ b/codegen/Files/Model/FileUpdateInput.php @@ -293,10 +293,10 @@ public function getAccessAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('access', $data ?? [], null); $this->setIfExists('parent_folder_id', $data ?? [], null); diff --git a/codegen/Files/Model/Folder.php b/codegen/Files/Model/Folder.php index f9d1b4b73..08c939b17 100644 --- a/codegen/Files/Model/Folder.php +++ b/codegen/Files/Model/Folder.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('archived_at', $data ?? [], null); diff --git a/codegen/Files/Model/FolderActionResponse.php b/codegen/Files/Model/FolderActionResponse.php index e49b5b4fa..8be094a57 100644 --- a/codegen/Files/Model/FolderActionResponse.php +++ b/codegen/Files/Model/FolderActionResponse.php @@ -306,10 +306,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('result', $data ?? [], null); $this->setIfExists('completed_at', $data ?? [], null); diff --git a/codegen/Files/Model/FolderInput.php b/codegen/Files/Model/FolderInput.php index 900ee67c9..0a8668062 100644 --- a/codegen/Files/Model/FolderInput.php +++ b/codegen/Files/Model/FolderInput.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('parent_folder_id', $data ?? [], null); $this->setIfExists('parent_path', $data ?? [], null); diff --git a/codegen/Files/Model/FolderUpdateInput.php b/codegen/Files/Model/FolderUpdateInput.php index cadcbc780..384e24b0b 100644 --- a/codegen/Files/Model/FolderUpdateInput.php +++ b/codegen/Files/Model/FolderUpdateInput.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('parent_folder_id', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Files/Model/FolderUpdateTaskLocator.php b/codegen/Files/Model/FolderUpdateTaskLocator.php index 2a7b44007..a71fcd8ce 100644 --- a/codegen/Files/Model/FolderUpdateTaskLocator.php +++ b/codegen/Files/Model/FolderUpdateTaskLocator.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Files/Model/ImportFromUrlInput.php b/codegen/Files/Model/ImportFromUrlInput.php index e03b3d87a..208ba8d24 100644 --- a/codegen/Files/Model/ImportFromUrlInput.php +++ b/codegen/Files/Model/ImportFromUrlInput.php @@ -342,10 +342,10 @@ public function getDuplicateValidationStrategyAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('folder_path', $data ?? [], null); $this->setIfExists('access', $data ?? [], null); diff --git a/codegen/Files/Model/ImportFromUrlTaskLocator.php b/codegen/Files/Model/ImportFromUrlTaskLocator.php index e77453264..ebb93ad36 100644 --- a/codegen/Files/Model/ImportFromUrlTaskLocator.php +++ b/codegen/Files/Model/ImportFromUrlTaskLocator.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('links', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Files/Model/NextPage.php b/codegen/Files/Model/NextPage.php index 411a41da9..824452bbd 100644 --- a/codegen/Files/Model/NextPage.php +++ b/codegen/Files/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Files/Model/Paging.php b/codegen/Files/Model/Paging.php index 751a13918..c45076918 100644 --- a/codegen/Files/Model/Paging.php +++ b/codegen/Files/Model/Paging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); $this->setIfExists('prev', $data ?? [], null); diff --git a/codegen/Files/Model/PreviousPage.php b/codegen/Files/Model/PreviousPage.php index b0315e82e..906340248 100644 --- a/codegen/Files/Model/PreviousPage.php +++ b/codegen/Files/Model/PreviousPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('before', $data ?? [], null); $this->setIfExists('link', $data ?? [], null); diff --git a/codegen/Files/Model/SignedUrl.php b/codegen/Files/Model/SignedUrl.php index fc8494893..f1a3463d8 100644 --- a/codegen/Files/Model/SignedUrl.php +++ b/codegen/Files/Model/SignedUrl.php @@ -282,10 +282,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('extension', $data ?? [], null); $this->setIfExists('size', $data ?? [], null); diff --git a/codegen/Files/Model/StandardError.php b/codegen/Files/Model/StandardError.php index d536e4f8c..7976c72db 100644 --- a/codegen/Files/Model/StandardError.php +++ b/codegen/Files/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php b/codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php index 6a163ea46..d0951c14f 100644 --- a/codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php +++ b/codegen/Marketing/Events/Api/AttendanceSubscriberStateChangesApi.php @@ -80,15 +80,15 @@ class AttendanceSubscriberStateChangesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Api/BasicApi.php b/codegen/Marketing/Events/Api/BasicApi.php index 3800315a9..eab1e5550 100644 --- a/codegen/Marketing/Events/Api/BasicApi.php +++ b/codegen/Marketing/Events/Api/BasicApi.php @@ -104,15 +104,15 @@ class BasicApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Api/ListAssociationsApi.php b/codegen/Marketing/Events/Api/ListAssociationsApi.php index 83c36717c..867b398c1 100644 --- a/codegen/Marketing/Events/Api/ListAssociationsApi.php +++ b/codegen/Marketing/Events/Api/ListAssociationsApi.php @@ -92,15 +92,15 @@ class ListAssociationsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Api/ParticipantStateApi.php b/codegen/Marketing/Events/Api/ParticipantStateApi.php index f2d9a85c3..c7e77a0a4 100644 --- a/codegen/Marketing/Events/Api/ParticipantStateApi.php +++ b/codegen/Marketing/Events/Api/ParticipantStateApi.php @@ -89,15 +89,15 @@ class ParticipantStateApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Api/SettingsApi.php b/codegen/Marketing/Events/Api/SettingsApi.php index 077079ddb..d1bf693e7 100644 --- a/codegen/Marketing/Events/Api/SettingsApi.php +++ b/codegen/Marketing/Events/Api/SettingsApi.php @@ -80,15 +80,15 @@ class SettingsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Api/SubscriberStateChangesApi.php b/codegen/Marketing/Events/Api/SubscriberStateChangesApi.php index dd93e7485..bf5a408f9 100644 --- a/codegen/Marketing/Events/Api/SubscriberStateChangesApi.php +++ b/codegen/Marketing/Events/Api/SubscriberStateChangesApi.php @@ -80,15 +80,15 @@ class SubscriberStateChangesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Events/Configuration.php b/codegen/Marketing/Events/Configuration.php index 5b02fa120..b13a2612d 100644 --- a/codegen/Marketing/Events/Configuration.php +++ b/codegen/Marketing/Events/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Marketing/Events/Model/AttendanceCounters.php b/codegen/Marketing/Events/Model/AttendanceCounters.php index ca9a1d835..a6e7f3709 100644 --- a/codegen/Marketing/Events/Model/AttendanceCounters.php +++ b/codegen/Marketing/Events/Model/AttendanceCounters.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('attended', $data ?? [], null); $this->setIfExists('registered', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/BatchInputMarketingEventCreateRequestParams.php b/codegen/Marketing/Events/Model/BatchInputMarketingEventCreateRequestParams.php index 30920db61..9afa28ccf 100644 --- a/codegen/Marketing/Events/Model/BatchInputMarketingEventCreateRequestParams.php +++ b/codegen/Marketing/Events/Model/BatchInputMarketingEventCreateRequestParams.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Marketing/Events/Model/BatchInputMarketingEventEmailSubscriber.php b/codegen/Marketing/Events/Model/BatchInputMarketingEventEmailSubscriber.php index b0e2ebffe..279e4e2ec 100644 --- a/codegen/Marketing/Events/Model/BatchInputMarketingEventEmailSubscriber.php +++ b/codegen/Marketing/Events/Model/BatchInputMarketingEventEmailSubscriber.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Marketing/Events/Model/BatchInputMarketingEventExternalUniqueIdentifier.php b/codegen/Marketing/Events/Model/BatchInputMarketingEventExternalUniqueIdentifier.php index cfb6dfe60..2660d37cc 100644 --- a/codegen/Marketing/Events/Model/BatchInputMarketingEventExternalUniqueIdentifier.php +++ b/codegen/Marketing/Events/Model/BatchInputMarketingEventExternalUniqueIdentifier.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Marketing/Events/Model/BatchInputMarketingEventSubscriber.php b/codegen/Marketing/Events/Model/BatchInputMarketingEventSubscriber.php index 72d6be3b7..f1bb62eb7 100644 --- a/codegen/Marketing/Events/Model/BatchInputMarketingEventSubscriber.php +++ b/codegen/Marketing/Events/Model/BatchInputMarketingEventSubscriber.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Marketing/Events/Model/BatchResponseMarketingEventPublicDefaultResponse.php b/codegen/Marketing/Events/Model/BatchResponseMarketingEventPublicDefaultResponse.php index 57ebf1bc9..b8f5699b8 100644 --- a/codegen/Marketing/Events/Model/BatchResponseMarketingEventPublicDefaultResponse.php +++ b/codegen/Marketing/Events/Model/BatchResponseMarketingEventPublicDefaultResponse.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/BatchResponseSubscriberEmailResponse.php b/codegen/Marketing/Events/Model/BatchResponseSubscriberEmailResponse.php index 350707ab0..adc97678a 100644 --- a/codegen/Marketing/Events/Model/BatchResponseSubscriberEmailResponse.php +++ b/codegen/Marketing/Events/Model/BatchResponseSubscriberEmailResponse.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/BatchResponseSubscriberVidResponse.php b/codegen/Marketing/Events/Model/BatchResponseSubscriberVidResponse.php index 95d874606..e9ff5f1d1 100644 --- a/codegen/Marketing/Events/Model/BatchResponseSubscriberVidResponse.php +++ b/codegen/Marketing/Events/Model/BatchResponseSubscriberVidResponse.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging.php b/codegen/Marketing/Events/Model/CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging.php index 8956680a7..69286fe5f 100644 --- a/codegen/Marketing/Events/Model/CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging.php +++ b/codegen/Marketing/Events/Model/CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Marketing/Events/Model/CollectionResponseWithTotalParticipationBreakdownForwardPaging.php b/codegen/Marketing/Events/Model/CollectionResponseWithTotalParticipationBreakdownForwardPaging.php index aae00c9b1..0cdffb290 100644 --- a/codegen/Marketing/Events/Model/CollectionResponseWithTotalParticipationBreakdownForwardPaging.php +++ b/codegen/Marketing/Events/Model/CollectionResponseWithTotalParticipationBreakdownForwardPaging.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('paging', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/CollectionResponseWithTotalPublicListNoPaging.php b/codegen/Marketing/Events/Model/CollectionResponseWithTotalPublicListNoPaging.php index 178b064f0..62e52a9b4 100644 --- a/codegen/Marketing/Events/Model/CollectionResponseWithTotalPublicListNoPaging.php +++ b/codegen/Marketing/Events/Model/CollectionResponseWithTotalPublicListNoPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('total', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/ContactAssociation.php b/codegen/Marketing/Events/Model/ContactAssociation.php index 0e13c250b..5a9e38426 100644 --- a/codegen/Marketing/Events/Model/ContactAssociation.php +++ b/codegen/Marketing/Events/Model/ContactAssociation.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('firstname', $data ?? [], null); $this->setIfExists('contact_id', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/Error.php b/codegen/Marketing/Events/Model/Error.php index 52717870f..8aa9599b7 100644 --- a/codegen/Marketing/Events/Model/Error.php +++ b/codegen/Marketing/Events/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/ErrorDetail.php b/codegen/Marketing/Events/Model/ErrorDetail.php index 87ca0704f..7e020999e 100644 --- a/codegen/Marketing/Events/Model/ErrorDetail.php +++ b/codegen/Marketing/Events/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/EventDetailSettings.php b/codegen/Marketing/Events/Model/EventDetailSettings.php index 9da8c5ece..daa99ca64 100644 --- a/codegen/Marketing/Events/Model/EventDetailSettings.php +++ b/codegen/Marketing/Events/Model/EventDetailSettings.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('app_id', $data ?? [], null); $this->setIfExists('event_details_url', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/EventDetailSettingsUrl.php b/codegen/Marketing/Events/Model/EventDetailSettingsUrl.php index 444344966..e4944aeb5 100644 --- a/codegen/Marketing/Events/Model/EventDetailSettingsUrl.php +++ b/codegen/Marketing/Events/Model/EventDetailSettingsUrl.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('event_details_url', $data ?? [], null); } diff --git a/codegen/Marketing/Events/Model/ForwardPaging.php b/codegen/Marketing/Events/Model/ForwardPaging.php index ad774cefc..137261e42 100644 --- a/codegen/Marketing/Events/Model/ForwardPaging.php +++ b/codegen/Marketing/Events/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Marketing/Events/Model/MarketingEventAssociation.php b/codegen/Marketing/Events/Model/MarketingEventAssociation.php index 611df3db4..2e3642c9a 100644 --- a/codegen/Marketing/Events/Model/MarketingEventAssociation.php +++ b/codegen/Marketing/Events/Model/MarketingEventAssociation.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('external_account_id', $data ?? [], null); $this->setIfExists('marketing_event_id', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventCompleteRequestParams.php b/codegen/Marketing/Events/Model/MarketingEventCompleteRequestParams.php index 93def327f..647724c3d 100644 --- a/codegen/Marketing/Events/Model/MarketingEventCompleteRequestParams.php +++ b/codegen/Marketing/Events/Model/MarketingEventCompleteRequestParams.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('start_date_time', $data ?? [], null); $this->setIfExists('end_date_time', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventCreateRequestParams.php b/codegen/Marketing/Events/Model/MarketingEventCreateRequestParams.php index 473486870..aa9257409 100644 --- a/codegen/Marketing/Events/Model/MarketingEventCreateRequestParams.php +++ b/codegen/Marketing/Events/Model/MarketingEventCreateRequestParams.php @@ -305,10 +305,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('start_date_time', $data ?? [], null); $this->setIfExists('custom_properties', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventDefaultResponse.php b/codegen/Marketing/Events/Model/MarketingEventDefaultResponse.php index 6b89ec804..a5338c850 100644 --- a/codegen/Marketing/Events/Model/MarketingEventDefaultResponse.php +++ b/codegen/Marketing/Events/Model/MarketingEventDefaultResponse.php @@ -293,10 +293,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('start_date_time', $data ?? [], null); $this->setIfExists('custom_properties', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventEmailSubscriber.php b/codegen/Marketing/Events/Model/MarketingEventEmailSubscriber.php index 6fe365ec0..d8e29d313 100644 --- a/codegen/Marketing/Events/Model/MarketingEventEmailSubscriber.php +++ b/codegen/Marketing/Events/Model/MarketingEventEmailSubscriber.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('contact_properties', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventExternalUniqueIdentifier.php b/codegen/Marketing/Events/Model/MarketingEventExternalUniqueIdentifier.php index 9e970aa8c..5743e811d 100644 --- a/codegen/Marketing/Events/Model/MarketingEventExternalUniqueIdentifier.php +++ b/codegen/Marketing/Events/Model/MarketingEventExternalUniqueIdentifier.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('external_account_id', $data ?? [], null); $this->setIfExists('external_event_id', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventPublicDefaultResponse.php b/codegen/Marketing/Events/Model/MarketingEventPublicDefaultResponse.php index 3ca1d7c7b..567e9e2c1 100644 --- a/codegen/Marketing/Events/Model/MarketingEventPublicDefaultResponse.php +++ b/codegen/Marketing/Events/Model/MarketingEventPublicDefaultResponse.php @@ -311,10 +311,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('event_organizer', $data ?? [], null); $this->setIfExists('event_url', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventPublicReadResponse.php b/codegen/Marketing/Events/Model/MarketingEventPublicReadResponse.php index 8d583b15b..cb3c65285 100644 --- a/codegen/Marketing/Events/Model/MarketingEventPublicReadResponse.php +++ b/codegen/Marketing/Events/Model/MarketingEventPublicReadResponse.php @@ -341,10 +341,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('registrants', $data ?? [], null); $this->setIfExists('event_organizer', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventSubscriber.php b/codegen/Marketing/Events/Model/MarketingEventSubscriber.php index c1c989c11..0e1dfb6e3 100644 --- a/codegen/Marketing/Events/Model/MarketingEventSubscriber.php +++ b/codegen/Marketing/Events/Model/MarketingEventSubscriber.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('vid', $data ?? [], null); $this->setIfExists('properties', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/MarketingEventUpdateRequestParams.php b/codegen/Marketing/Events/Model/MarketingEventUpdateRequestParams.php index e974bae69..781c2331f 100644 --- a/codegen/Marketing/Events/Model/MarketingEventUpdateRequestParams.php +++ b/codegen/Marketing/Events/Model/MarketingEventUpdateRequestParams.php @@ -293,10 +293,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('start_date_time', $data ?? [], null); $this->setIfExists('custom_properties', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/NextPage.php b/codegen/Marketing/Events/Model/NextPage.php index bb9111cc9..a19016fcc 100644 --- a/codegen/Marketing/Events/Model/NextPage.php +++ b/codegen/Marketing/Events/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/ParticipationAssociations.php b/codegen/Marketing/Events/Model/ParticipationAssociations.php index 1b1115871..6058eb422 100644 --- a/codegen/Marketing/Events/Model/ParticipationAssociations.php +++ b/codegen/Marketing/Events/Model/ParticipationAssociations.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('marketing_event', $data ?? [], null); $this->setIfExists('contact', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/ParticipationBreakdown.php b/codegen/Marketing/Events/Model/ParticipationBreakdown.php index 4ae136f10..1621a66bd 100644 --- a/codegen/Marketing/Events/Model/ParticipationBreakdown.php +++ b/codegen/Marketing/Events/Model/ParticipationBreakdown.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('associations', $data ?? [], null); $this->setIfExists('created_at', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/ParticipationProperties.php b/codegen/Marketing/Events/Model/ParticipationProperties.php index 1d12c986a..0701eb9d8 100644 --- a/codegen/Marketing/Events/Model/ParticipationProperties.php +++ b/codegen/Marketing/Events/Model/ParticipationProperties.php @@ -278,10 +278,10 @@ public function getAttendanceStateAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('occurred_at', $data ?? [], null); $this->setIfExists('attendance_percentage', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/PropertyValue.php b/codegen/Marketing/Events/Model/PropertyValue.php index 2e8b0ac7e..f35237856 100644 --- a/codegen/Marketing/Events/Model/PropertyValue.php +++ b/codegen/Marketing/Events/Model/PropertyValue.php @@ -551,10 +551,10 @@ public function getDataSensitivityAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('source_id', $data ?? [], null); $this->setIfExists('selected_by_user', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/PublicList.php b/codegen/Marketing/Events/Model/PublicList.php index 863ab8435..e5956bd42 100644 --- a/codegen/Marketing/Events/Model/PublicList.php +++ b/codegen/Marketing/Events/Model/PublicList.php @@ -311,10 +311,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('processing_type', $data ?? [], null); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/StandardError.php b/codegen/Marketing/Events/Model/StandardError.php index b29bda3e2..7adf775bc 100644 --- a/codegen/Marketing/Events/Model/StandardError.php +++ b/codegen/Marketing/Events/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/SubscriberEmailResponse.php b/codegen/Marketing/Events/Model/SubscriberEmailResponse.php index 2b0fedcc2..2ad7e3c5f 100644 --- a/codegen/Marketing/Events/Model/SubscriberEmailResponse.php +++ b/codegen/Marketing/Events/Model/SubscriberEmailResponse.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('vid', $data ?? [], null); $this->setIfExists('email', $data ?? [], null); diff --git a/codegen/Marketing/Events/Model/SubscriberVidResponse.php b/codegen/Marketing/Events/Model/SubscriberVidResponse.php index 5a8316bbe..14e00c819 100644 --- a/codegen/Marketing/Events/Model/SubscriberVidResponse.php +++ b/codegen/Marketing/Events/Model/SubscriberVidResponse.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('vid', $data ?? [], null); } diff --git a/codegen/Marketing/Forms/Api/FormsApi.php b/codegen/Marketing/Forms/Api/FormsApi.php index 5b61a8431..5ee42e7ac 100644 --- a/codegen/Marketing/Forms/Api/FormsApi.php +++ b/codegen/Marketing/Forms/Api/FormsApi.php @@ -92,15 +92,15 @@ class FormsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Forms/Configuration.php b/codegen/Marketing/Forms/Configuration.php index 641a759c4..5b87dbf4e 100644 --- a/codegen/Marketing/Forms/Configuration.php +++ b/codegen/Marketing/Forms/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPaging.php b/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPaging.php index 196add296..f704d1c3b 100644 --- a/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPaging.php +++ b/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPagingResultsInner.php b/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPagingResultsInner.php index cfa76bf32..884a26659 100644 --- a/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPagingResultsInner.php +++ b/codegen/Marketing/Forms/Model/CollectionResponseFormDefinitionBaseForwardPagingResultsInner.php @@ -312,10 +312,10 @@ public function getFormTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('form_type', $data ?? [], 'hubspot'); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/DatepickerField.php b/codegen/Marketing/Forms/Model/DatepickerField.php index d44de0d55..6a3b1b428 100644 --- a/codegen/Marketing/Forms/Model/DatepickerField.php +++ b/codegen/Marketing/Forms/Model/DatepickerField.php @@ -307,10 +307,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'datepicker'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/DependentField.php b/codegen/Marketing/Forms/Model/DependentField.php index 465f470c1..f86ed516a 100644 --- a/codegen/Marketing/Forms/Model/DependentField.php +++ b/codegen/Marketing/Forms/Model/DependentField.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('dependent_condition', $data ?? [], null); $this->setIfExists('dependent_field', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/DependentFieldDependentField.php b/codegen/Marketing/Forms/Model/DependentFieldDependentField.php index 9588de353..547dbb174 100644 --- a/codegen/Marketing/Forms/Model/DependentFieldDependentField.php +++ b/codegen/Marketing/Forms/Model/DependentFieldDependentField.php @@ -336,10 +336,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'payment_link_radio'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/DependentFieldFilter.php b/codegen/Marketing/Forms/Model/DependentFieldFilter.php index 674835a71..e1b694f12 100644 --- a/codegen/Marketing/Forms/Model/DependentFieldFilter.php +++ b/codegen/Marketing/Forms/Model/DependentFieldFilter.php @@ -317,10 +317,10 @@ public function getOperatorAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('operator', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/DropdownField.php b/codegen/Marketing/Forms/Model/DropdownField.php index fe5662c3a..feff1152e 100644 --- a/codegen/Marketing/Forms/Model/DropdownField.php +++ b/codegen/Marketing/Forms/Model/DropdownField.php @@ -313,10 +313,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'dropdown'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/EmailField.php b/codegen/Marketing/Forms/Model/EmailField.php index 545bfd2be..87f61ea1c 100644 --- a/codegen/Marketing/Forms/Model/EmailField.php +++ b/codegen/Marketing/Forms/Model/EmailField.php @@ -313,10 +313,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'email'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/EmailFieldValidation.php b/codegen/Marketing/Forms/Model/EmailFieldValidation.php index c904f2eca..c6639e501 100644 --- a/codegen/Marketing/Forms/Model/EmailFieldValidation.php +++ b/codegen/Marketing/Forms/Model/EmailFieldValidation.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('blocked_email_domains', $data ?? [], null); $this->setIfExists('use_default_block_list', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/EnumeratedFieldOption.php b/codegen/Marketing/Forms/Model/EnumeratedFieldOption.php index 24919962f..fbcecd59a 100644 --- a/codegen/Marketing/Forms/Model/EnumeratedFieldOption.php +++ b/codegen/Marketing/Forms/Model/EnumeratedFieldOption.php @@ -257,10 +257,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('label', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/Error.php b/codegen/Marketing/Forms/Model/Error.php index 8706ba018..fddd73438 100644 --- a/codegen/Marketing/Forms/Model/Error.php +++ b/codegen/Marketing/Forms/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/ErrorDetail.php b/codegen/Marketing/Forms/Model/ErrorDetail.php index 71c238df8..3e976353d 100644 --- a/codegen/Marketing/Forms/Model/ErrorDetail.php +++ b/codegen/Marketing/Forms/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/FieldGroup.php b/codegen/Marketing/Forms/Model/FieldGroup.php index 0f58c573a..0eeccb5cb 100644 --- a/codegen/Marketing/Forms/Model/FieldGroup.php +++ b/codegen/Marketing/Forms/Model/FieldGroup.php @@ -290,10 +290,10 @@ public function getRichTextTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('group_type', $data ?? [], null); $this->setIfExists('rich_text_type', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/FileField.php b/codegen/Marketing/Forms/Model/FileField.php index ad30f17c0..d106cc494 100644 --- a/codegen/Marketing/Forms/Model/FileField.php +++ b/codegen/Marketing/Forms/Model/FileField.php @@ -313,10 +313,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'file'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/FormDefinitionBase.php b/codegen/Marketing/Forms/Model/FormDefinitionBase.php index 3082b7cfc..540dd7aae 100644 --- a/codegen/Marketing/Forms/Model/FormDefinitionBase.php +++ b/codegen/Marketing/Forms/Model/FormDefinitionBase.php @@ -312,10 +312,10 @@ public function getFormTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('form_type', $data ?? [], 'hubspot'); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/FormDefinitionCreateRequestBase.php b/codegen/Marketing/Forms/Model/FormDefinitionCreateRequestBase.php index c24ea96bf..f02a7928f 100644 --- a/codegen/Marketing/Forms/Model/FormDefinitionCreateRequestBase.php +++ b/codegen/Marketing/Forms/Model/FormDefinitionCreateRequestBase.php @@ -306,10 +306,10 @@ public function getFormTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('form_type', $data ?? [], 'hubspot'); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/FormDisplayOptions.php b/codegen/Marketing/Forms/Model/FormDisplayOptions.php index eaf6603f0..1a89a5da3 100644 --- a/codegen/Marketing/Forms/Model/FormDisplayOptions.php +++ b/codegen/Marketing/Forms/Model/FormDisplayOptions.php @@ -287,10 +287,10 @@ public function getThemeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('render_raw_html', $data ?? [], null); $this->setIfExists('css_class', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/FormPostSubmitAction.php b/codegen/Marketing/Forms/Model/FormPostSubmitAction.php index 4e74f4760..6b232f876 100644 --- a/codegen/Marketing/Forms/Model/FormPostSubmitAction.php +++ b/codegen/Marketing/Forms/Model/FormPostSubmitAction.php @@ -261,10 +261,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/FormStyle.php b/codegen/Marketing/Forms/Model/FormStyle.php index bc2c6c510..c214ab698 100644 --- a/codegen/Marketing/Forms/Model/FormStyle.php +++ b/codegen/Marketing/Forms/Model/FormStyle.php @@ -323,10 +323,10 @@ public function getSubmitAlignmentAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('label_text_size', $data ?? [], null); $this->setIfExists('legal_consent_text_color', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/ForwardPaging.php b/codegen/Marketing/Forms/Model/ForwardPaging.php index 5e2f8dde2..674b335c8 100644 --- a/codegen/Marketing/Forms/Model/ForwardPaging.php +++ b/codegen/Marketing/Forms/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Marketing/Forms/Model/HubSpotFormConfiguration.php b/codegen/Marketing/Forms/Model/HubSpotFormConfiguration.php index 05bc8de55..98cbb1ae0 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormConfiguration.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormConfiguration.php @@ -400,10 +400,10 @@ public function getLanguageAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('create_new_contact_for_new_email', $data ?? [], null); $this->setIfExists('editable', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinition.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinition.php index 6f5f92d41..3b95a8a8b 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinition.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinition.php @@ -312,10 +312,10 @@ public function getFormTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('form_type', $data ?? [], 'hubspot'); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionAllOfLegalConsentOptions.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionAllOfLegalConsentOptions.php index 2b12296c4..474fd4f5a 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionAllOfLegalConsentOptions.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionAllOfLegalConsentOptions.php @@ -323,10 +323,10 @@ public function getLawfulBasisAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], 'none'); $this->setIfExists('subscription_type_ids', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequest.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequest.php index 16d6ada67..a929bd3f1 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequest.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequest.php @@ -306,10 +306,10 @@ public function getFormTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('form_type', $data ?? [], 'hubspot'); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions.php index 35204dc0f..b479e5906 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionCreateRequestAllOfLegalConsentOptions.php @@ -323,10 +323,10 @@ public function getLawfulBasisAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], 'none'); $this->setIfExists('subscription_type_ids', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequest.php b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequest.php index 93d9576ec..3a0371858 100644 --- a/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequest.php +++ b/codegen/Marketing/Forms/Model/HubSpotFormDefinitionPatchRequest.php @@ -269,10 +269,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_groups', $data ?? [], null); $this->setIfExists('archived', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/LegalConsentCheckbox.php b/codegen/Marketing/Forms/Model/LegalConsentCheckbox.php index 2aca9e240..2795a3f9e 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentCheckbox.php +++ b/codegen/Marketing/Forms/Model/LegalConsentCheckbox.php @@ -251,10 +251,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('required', $data ?? [], null); $this->setIfExists('subscription_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/LegalConsentOptionsExplicitConsentToProcess.php b/codegen/Marketing/Forms/Model/LegalConsentOptionsExplicitConsentToProcess.php index e7f86b9dc..fd30d07db 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentOptionsExplicitConsentToProcess.php +++ b/codegen/Marketing/Forms/Model/LegalConsentOptionsExplicitConsentToProcess.php @@ -288,10 +288,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], 'explicit_consent_to_process'); $this->setIfExists('communication_consent_text', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/LegalConsentOptionsImplicitConsentToProcess.php b/codegen/Marketing/Forms/Model/LegalConsentOptionsImplicitConsentToProcess.php index affca76a7..156fc2a9f 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentOptionsImplicitConsentToProcess.php +++ b/codegen/Marketing/Forms/Model/LegalConsentOptionsImplicitConsentToProcess.php @@ -276,10 +276,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], 'implicit_consent_to_process'); $this->setIfExists('communication_consent_text', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/LegalConsentOptionsLegitimateInterest.php b/codegen/Marketing/Forms/Model/LegalConsentOptionsLegitimateInterest.php index 318192c45..025948753 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentOptionsLegitimateInterest.php +++ b/codegen/Marketing/Forms/Model/LegalConsentOptionsLegitimateInterest.php @@ -287,10 +287,10 @@ public function getLawfulBasisAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], 'legitimate_interest'); $this->setIfExists('subscription_type_ids', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/LegalConsentOptionsNone.php b/codegen/Marketing/Forms/Model/LegalConsentOptionsNone.php index f05ce840e..af651933f 100644 --- a/codegen/Marketing/Forms/Model/LegalConsentOptionsNone.php +++ b/codegen/Marketing/Forms/Model/LegalConsentOptionsNone.php @@ -252,10 +252,10 @@ public function getTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('type', $data ?? [], 'none'); } diff --git a/codegen/Marketing/Forms/Model/LifecycleStage.php b/codegen/Marketing/Forms/Model/LifecycleStage.php index 5ebb98f1f..a85185891 100644 --- a/codegen/Marketing/Forms/Model/LifecycleStage.php +++ b/codegen/Marketing/Forms/Model/LifecycleStage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_type_id', $data ?? [], null); $this->setIfExists('value', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/MobilePhoneField.php b/codegen/Marketing/Forms/Model/MobilePhoneField.php index 18593eeb9..9265914d8 100644 --- a/codegen/Marketing/Forms/Model/MobilePhoneField.php +++ b/codegen/Marketing/Forms/Model/MobilePhoneField.php @@ -313,10 +313,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'mobile_phone'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/MultiLineTextField.php b/codegen/Marketing/Forms/Model/MultiLineTextField.php index 2e4ee9e9e..912fd7d85 100644 --- a/codegen/Marketing/Forms/Model/MultiLineTextField.php +++ b/codegen/Marketing/Forms/Model/MultiLineTextField.php @@ -307,10 +307,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'multi_line_text'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/MultipleCheckboxesField.php b/codegen/Marketing/Forms/Model/MultipleCheckboxesField.php index b8e4efb03..7b1ca813f 100644 --- a/codegen/Marketing/Forms/Model/MultipleCheckboxesField.php +++ b/codegen/Marketing/Forms/Model/MultipleCheckboxesField.php @@ -307,10 +307,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'multiple_checkboxes'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/NextPage.php b/codegen/Marketing/Forms/Model/NextPage.php index 4f28556ad..7c84315ad 100644 --- a/codegen/Marketing/Forms/Model/NextPage.php +++ b/codegen/Marketing/Forms/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/NumberField.php b/codegen/Marketing/Forms/Model/NumberField.php index 447e93bf2..3fc22abd2 100644 --- a/codegen/Marketing/Forms/Model/NumberField.php +++ b/codegen/Marketing/Forms/Model/NumberField.php @@ -313,10 +313,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'number'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/NumberFieldValidation.php b/codegen/Marketing/Forms/Model/NumberFieldValidation.php index 4c0a98e6f..c3a0de7d0 100644 --- a/codegen/Marketing/Forms/Model/NumberFieldValidation.php +++ b/codegen/Marketing/Forms/Model/NumberFieldValidation.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('min_allowed_digits', $data ?? [], null); $this->setIfExists('max_allowed_digits', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/PaymentLinkRadioField.php b/codegen/Marketing/Forms/Model/PaymentLinkRadioField.php index c6d4bd5a5..b0c36faf9 100644 --- a/codegen/Marketing/Forms/Model/PaymentLinkRadioField.php +++ b/codegen/Marketing/Forms/Model/PaymentLinkRadioField.php @@ -306,10 +306,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'payment_link_radio'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/PhoneField.php b/codegen/Marketing/Forms/Model/PhoneField.php index 704d86dcf..733730624 100644 --- a/codegen/Marketing/Forms/Model/PhoneField.php +++ b/codegen/Marketing/Forms/Model/PhoneField.php @@ -319,10 +319,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'phone'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/PhoneFieldValidation.php b/codegen/Marketing/Forms/Model/PhoneFieldValidation.php index 29ea45631..a4ce90fa7 100644 --- a/codegen/Marketing/Forms/Model/PhoneFieldValidation.php +++ b/codegen/Marketing/Forms/Model/PhoneFieldValidation.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('min_allowed_digits', $data ?? [], null); $this->setIfExists('max_allowed_digits', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/RadioField.php b/codegen/Marketing/Forms/Model/RadioField.php index 7eafcb1f0..baede0972 100644 --- a/codegen/Marketing/Forms/Model/RadioField.php +++ b/codegen/Marketing/Forms/Model/RadioField.php @@ -313,10 +313,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'radio'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/SingleCheckboxField.php b/codegen/Marketing/Forms/Model/SingleCheckboxField.php index 78b64ac39..1d8c2566b 100644 --- a/codegen/Marketing/Forms/Model/SingleCheckboxField.php +++ b/codegen/Marketing/Forms/Model/SingleCheckboxField.php @@ -301,10 +301,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'single_checkbox'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Forms/Model/SingleLineTextField.php b/codegen/Marketing/Forms/Model/SingleLineTextField.php index 5561023ee..89f43649d 100644 --- a/codegen/Marketing/Forms/Model/SingleLineTextField.php +++ b/codegen/Marketing/Forms/Model/SingleLineTextField.php @@ -307,10 +307,10 @@ public function getFieldTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('field_type', $data ?? [], 'single_line_text'); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Api/PublicSMTPTokensApi.php b/codegen/Marketing/Transactional/Api/PublicSMTPTokensApi.php index 9d3a821ae..4c7b18ee3 100644 --- a/codegen/Marketing/Transactional/Api/PublicSMTPTokensApi.php +++ b/codegen/Marketing/Transactional/Api/PublicSMTPTokensApi.php @@ -89,15 +89,15 @@ class PublicSMTPTokensApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Transactional/Api/SingleSendApi.php b/codegen/Marketing/Transactional/Api/SingleSendApi.php index 6199808e1..c939a0795 100644 --- a/codegen/Marketing/Transactional/Api/SingleSendApi.php +++ b/codegen/Marketing/Transactional/Api/SingleSendApi.php @@ -77,15 +77,15 @@ class SingleSendApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Marketing/Transactional/Configuration.php b/codegen/Marketing/Transactional/Configuration.php index 4ed6238a6..981aca23d 100644 --- a/codegen/Marketing/Transactional/Configuration.php +++ b/codegen/Marketing/Transactional/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Marketing/Transactional/Model/CollectionResponseSmtpApiTokenViewForwardPaging.php b/codegen/Marketing/Transactional/Model/CollectionResponseSmtpApiTokenViewForwardPaging.php index 2fa815105..1fe33f24b 100644 --- a/codegen/Marketing/Transactional/Model/CollectionResponseSmtpApiTokenViewForwardPaging.php +++ b/codegen/Marketing/Transactional/Model/CollectionResponseSmtpApiTokenViewForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/EmailSendStatusView.php b/codegen/Marketing/Transactional/Model/EmailSendStatusView.php index ce06412a5..e482cc26a 100644 --- a/codegen/Marketing/Transactional/Model/EmailSendStatusView.php +++ b/codegen/Marketing/Transactional/Model/EmailSendStatusView.php @@ -392,10 +392,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('event_id', $data ?? [], null); $this->setIfExists('completed_at', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/Error.php b/codegen/Marketing/Transactional/Model/Error.php index 2a74a0f7b..7e599e00c 100644 --- a/codegen/Marketing/Transactional/Model/Error.php +++ b/codegen/Marketing/Transactional/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/ErrorDetail.php b/codegen/Marketing/Transactional/Model/ErrorDetail.php index 55ff9056e..ef6327a8a 100644 --- a/codegen/Marketing/Transactional/Model/ErrorDetail.php +++ b/codegen/Marketing/Transactional/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/EventIdView.php b/codegen/Marketing/Transactional/Model/EventIdView.php index d7038f9c3..dde933e5b 100644 --- a/codegen/Marketing/Transactional/Model/EventIdView.php +++ b/codegen/Marketing/Transactional/Model/EventIdView.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/ForwardPaging.php b/codegen/Marketing/Transactional/Model/ForwardPaging.php index 180f95022..7b6557a6d 100644 --- a/codegen/Marketing/Transactional/Model/ForwardPaging.php +++ b/codegen/Marketing/Transactional/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Marketing/Transactional/Model/NextPage.php b/codegen/Marketing/Transactional/Model/NextPage.php index 4d55bc3dd..418470d16 100644 --- a/codegen/Marketing/Transactional/Model/NextPage.php +++ b/codegen/Marketing/Transactional/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/PublicSingleSendEmail.php b/codegen/Marketing/Transactional/Model/PublicSingleSendEmail.php index 8a03668b9..3033fe24b 100644 --- a/codegen/Marketing/Transactional/Model/PublicSingleSendEmail.php +++ b/codegen/Marketing/Transactional/Model/PublicSingleSendEmail.php @@ -270,10 +270,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('cc', $data ?? [], null); $this->setIfExists('send_id', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/PublicSingleSendRequestEgg.php b/codegen/Marketing/Transactional/Model/PublicSingleSendRequestEgg.php index 283dc76f1..d898b44d2 100644 --- a/codegen/Marketing/Transactional/Model/PublicSingleSendRequestEgg.php +++ b/codegen/Marketing/Transactional/Model/PublicSingleSendRequestEgg.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('custom_properties', $data ?? [], null); $this->setIfExists('email_id', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/SmtpApiTokenRequestEgg.php b/codegen/Marketing/Transactional/Model/SmtpApiTokenRequestEgg.php index d6e373e70..dbca42d00 100644 --- a/codegen/Marketing/Transactional/Model/SmtpApiTokenRequestEgg.php +++ b/codegen/Marketing/Transactional/Model/SmtpApiTokenRequestEgg.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('create_contact', $data ?? [], null); $this->setIfExists('campaign_name', $data ?? [], null); diff --git a/codegen/Marketing/Transactional/Model/SmtpApiTokenView.php b/codegen/Marketing/Transactional/Model/SmtpApiTokenView.php index b75fedf01..c30778d67 100644 --- a/codegen/Marketing/Transactional/Model/SmtpApiTokenView.php +++ b/codegen/Marketing/Transactional/Model/SmtpApiTokenView.php @@ -276,10 +276,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('password', $data ?? [], null); diff --git a/codegen/Oauth/Api/AccessTokensApi.php b/codegen/Oauth/Api/AccessTokensApi.php index 04a0e561b..7913c0b7f 100644 --- a/codegen/Oauth/Api/AccessTokensApi.php +++ b/codegen/Oauth/Api/AccessTokensApi.php @@ -77,15 +77,15 @@ class AccessTokensApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Oauth/Api/RefreshTokensApi.php b/codegen/Oauth/Api/RefreshTokensApi.php index 83b88008d..94c425a98 100644 --- a/codegen/Oauth/Api/RefreshTokensApi.php +++ b/codegen/Oauth/Api/RefreshTokensApi.php @@ -80,15 +80,15 @@ class RefreshTokensApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Oauth/Api/TokensApi.php b/codegen/Oauth/Api/TokensApi.php index a05c7b2f9..854c20245 100644 --- a/codegen/Oauth/Api/TokensApi.php +++ b/codegen/Oauth/Api/TokensApi.php @@ -77,15 +77,15 @@ class TokensApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Oauth/Configuration.php b/codegen/Oauth/Configuration.php index 4baacf1d0..f34296dd2 100644 --- a/codegen/Oauth/Configuration.php +++ b/codegen/Oauth/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Oauth/Model/AccessTokenInfoResponse.php b/codegen/Oauth/Model/AccessTokenInfoResponse.php index f8ddeb24e..48114149f 100644 --- a/codegen/Oauth/Model/AccessTokenInfoResponse.php +++ b/codegen/Oauth/Model/AccessTokenInfoResponse.php @@ -287,10 +287,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hub_id', $data ?? [], null); $this->setIfExists('user_id', $data ?? [], null); diff --git a/codegen/Oauth/Model/Error.php b/codegen/Oauth/Model/Error.php index be0669aff..6cd20bc63 100644 --- a/codegen/Oauth/Model/Error.php +++ b/codegen/Oauth/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Oauth/Model/ErrorDetail.php b/codegen/Oauth/Model/ErrorDetail.php index 379d05012..92064dd66 100644 --- a/codegen/Oauth/Model/ErrorDetail.php +++ b/codegen/Oauth/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Oauth/Model/RefreshTokenInfoResponse.php b/codegen/Oauth/Model/RefreshTokenInfoResponse.php index 8b455ac38..4c1d8a95b 100644 --- a/codegen/Oauth/Model/RefreshTokenInfoResponse.php +++ b/codegen/Oauth/Model/RefreshTokenInfoResponse.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('hub_id', $data ?? [], null); $this->setIfExists('user_id', $data ?? [], null); diff --git a/codegen/Oauth/Model/TokenResponseIF.php b/codegen/Oauth/Model/TokenResponseIF.php index 9dab01067..a549f4e91 100644 --- a/codegen/Oauth/Model/TokenResponseIF.php +++ b/codegen/Oauth/Model/TokenResponseIF.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('access_token', $data ?? [], null); $this->setIfExists('refresh_token', $data ?? [], null); diff --git a/codegen/Settings/BusinessUnits/Api/BusinessUnitApi.php b/codegen/Settings/BusinessUnits/Api/BusinessUnitApi.php index b12948e4c..6b7e39a6a 100644 --- a/codegen/Settings/BusinessUnits/Api/BusinessUnitApi.php +++ b/codegen/Settings/BusinessUnits/Api/BusinessUnitApi.php @@ -77,15 +77,15 @@ class BusinessUnitApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Settings/BusinessUnits/Configuration.php b/codegen/Settings/BusinessUnits/Configuration.php index cc999c99b..510686a75 100644 --- a/codegen/Settings/BusinessUnits/Configuration.php +++ b/codegen/Settings/BusinessUnits/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Settings/BusinessUnits/Model/CollectionResponsePublicBusinessUnitNoPaging.php b/codegen/Settings/BusinessUnits/Model/CollectionResponsePublicBusinessUnitNoPaging.php index 5b84667e8..99809408b 100644 --- a/codegen/Settings/BusinessUnits/Model/CollectionResponsePublicBusinessUnitNoPaging.php +++ b/codegen/Settings/BusinessUnits/Model/CollectionResponsePublicBusinessUnitNoPaging.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Settings/BusinessUnits/Model/Error.php b/codegen/Settings/BusinessUnits/Model/Error.php index 87ccb7b67..9321920b6 100644 --- a/codegen/Settings/BusinessUnits/Model/Error.php +++ b/codegen/Settings/BusinessUnits/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Settings/BusinessUnits/Model/ErrorDetail.php b/codegen/Settings/BusinessUnits/Model/ErrorDetail.php index 7ca03608c..91e0cc1f1 100644 --- a/codegen/Settings/BusinessUnits/Model/ErrorDetail.php +++ b/codegen/Settings/BusinessUnits/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Settings/BusinessUnits/Model/PublicBusinessUnit.php b/codegen/Settings/BusinessUnits/Model/PublicBusinessUnit.php index 2f24357c4..da84342e7 100644 --- a/codegen/Settings/BusinessUnits/Model/PublicBusinessUnit.php +++ b/codegen/Settings/BusinessUnits/Model/PublicBusinessUnit.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('logo_metadata', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Settings/BusinessUnits/Model/PublicBusinessUnitLogoMetadata.php b/codegen/Settings/BusinessUnits/Model/PublicBusinessUnitLogoMetadata.php index 92ee7ea22..9011378c7 100644 --- a/codegen/Settings/BusinessUnits/Model/PublicBusinessUnitLogoMetadata.php +++ b/codegen/Settings/BusinessUnits/Model/PublicBusinessUnitLogoMetadata.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('logo_alt_text', $data ?? [], null); $this->setIfExists('resized_url', $data ?? [], null); diff --git a/codegen/Settings/Users/Api/RolesApi.php b/codegen/Settings/Users/Api/RolesApi.php index 52ac54b2a..dd64323ea 100644 --- a/codegen/Settings/Users/Api/RolesApi.php +++ b/codegen/Settings/Users/Api/RolesApi.php @@ -77,15 +77,15 @@ class RolesApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Settings/Users/Api/TeamsApi.php b/codegen/Settings/Users/Api/TeamsApi.php index 2cdcf80eb..7dd4cb061 100644 --- a/codegen/Settings/Users/Api/TeamsApi.php +++ b/codegen/Settings/Users/Api/TeamsApi.php @@ -77,15 +77,15 @@ class TeamsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Settings/Users/Api/UsersApi.php b/codegen/Settings/Users/Api/UsersApi.php index 7bdeff4c1..9559d39fe 100644 --- a/codegen/Settings/Users/Api/UsersApi.php +++ b/codegen/Settings/Users/Api/UsersApi.php @@ -89,15 +89,15 @@ class UsersApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Settings/Users/Configuration.php b/codegen/Settings/Users/Configuration.php index 959ef92c2..ba218bf54 100644 --- a/codegen/Settings/Users/Configuration.php +++ b/codegen/Settings/Users/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Settings/Users/Model/CollectionResponsePublicPermissionSetNoPaging.php b/codegen/Settings/Users/Model/CollectionResponsePublicPermissionSetNoPaging.php index a48cdfb1a..4bfc8c8df 100644 --- a/codegen/Settings/Users/Model/CollectionResponsePublicPermissionSetNoPaging.php +++ b/codegen/Settings/Users/Model/CollectionResponsePublicPermissionSetNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Settings/Users/Model/CollectionResponsePublicTeamNoPaging.php b/codegen/Settings/Users/Model/CollectionResponsePublicTeamNoPaging.php index 3682e7503..348970b5b 100644 --- a/codegen/Settings/Users/Model/CollectionResponsePublicTeamNoPaging.php +++ b/codegen/Settings/Users/Model/CollectionResponsePublicTeamNoPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Settings/Users/Model/CollectionResponsePublicUserForwardPaging.php b/codegen/Settings/Users/Model/CollectionResponsePublicUserForwardPaging.php index a2c3a37cb..f668c987c 100644 --- a/codegen/Settings/Users/Model/CollectionResponsePublicUserForwardPaging.php +++ b/codegen/Settings/Users/Model/CollectionResponsePublicUserForwardPaging.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('paging', $data ?? [], null); $this->setIfExists('results', $data ?? [], null); diff --git a/codegen/Settings/Users/Model/Error.php b/codegen/Settings/Users/Model/Error.php index 82e0dc2ed..48462b030 100644 --- a/codegen/Settings/Users/Model/Error.php +++ b/codegen/Settings/Users/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Settings/Users/Model/ErrorDetail.php b/codegen/Settings/Users/Model/ErrorDetail.php index 3f1a5a75a..46a30e7e8 100644 --- a/codegen/Settings/Users/Model/ErrorDetail.php +++ b/codegen/Settings/Users/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Settings/Users/Model/ForwardPaging.php b/codegen/Settings/Users/Model/ForwardPaging.php index 59b65c157..b0f74c8ea 100644 --- a/codegen/Settings/Users/Model/ForwardPaging.php +++ b/codegen/Settings/Users/Model/ForwardPaging.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('next', $data ?? [], null); } diff --git a/codegen/Settings/Users/Model/NextPage.php b/codegen/Settings/Users/Model/NextPage.php index a63d3a4d5..540ddc14f 100644 --- a/codegen/Settings/Users/Model/NextPage.php +++ b/codegen/Settings/Users/Model/NextPage.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('link', $data ?? [], null); $this->setIfExists('after', $data ?? [], null); diff --git a/codegen/Settings/Users/Model/PublicPermissionSet.php b/codegen/Settings/Users/Model/PublicPermissionSet.php index 7da185258..2ec9e1044 100644 --- a/codegen/Settings/Users/Model/PublicPermissionSet.php +++ b/codegen/Settings/Users/Model/PublicPermissionSet.php @@ -252,10 +252,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('requires_billing_write', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Settings/Users/Model/PublicTeam.php b/codegen/Settings/Users/Model/PublicTeam.php index 1a62f2968..14e6e3e47 100644 --- a/codegen/Settings/Users/Model/PublicTeam.php +++ b/codegen/Settings/Users/Model/PublicTeam.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('user_ids', $data ?? [], null); $this->setIfExists('name', $data ?? [], null); diff --git a/codegen/Settings/Users/Model/PublicUser.php b/codegen/Settings/Users/Model/PublicUser.php index d32edc7f9..678917bc4 100644 --- a/codegen/Settings/Users/Model/PublicUser.php +++ b/codegen/Settings/Users/Model/PublicUser.php @@ -294,10 +294,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('first_name', $data ?? [], null); $this->setIfExists('last_name', $data ?? [], null); diff --git a/codegen/Settings/Users/Model/PublicUserUpdate.php b/codegen/Settings/Users/Model/PublicUserUpdate.php index 88799fc8a..69c6c7749 100644 --- a/codegen/Settings/Users/Model/PublicUserUpdate.php +++ b/codegen/Settings/Users/Model/PublicUserUpdate.php @@ -264,10 +264,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('first_name', $data ?? [], null); $this->setIfExists('last_name', $data ?? [], null); diff --git a/codegen/Settings/Users/Model/UserProvisionRequest.php b/codegen/Settings/Users/Model/UserProvisionRequest.php index b090df0c9..ef63a001c 100644 --- a/codegen/Settings/Users/Model/UserProvisionRequest.php +++ b/codegen/Settings/Users/Model/UserProvisionRequest.php @@ -276,10 +276,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('first_name', $data ?? [], null); $this->setIfExists('last_name', $data ?? [], null); diff --git a/codegen/Webhooks/Api/SettingsApi.php b/codegen/Webhooks/Api/SettingsApi.php index 4cd2a201f..49dd2200e 100644 --- a/codegen/Webhooks/Api/SettingsApi.php +++ b/codegen/Webhooks/Api/SettingsApi.php @@ -83,15 +83,15 @@ class SettingsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Webhooks/Api/SubscriptionsApi.php b/codegen/Webhooks/Api/SubscriptionsApi.php index 0ee570f9e..755f55813 100644 --- a/codegen/Webhooks/Api/SubscriptionsApi.php +++ b/codegen/Webhooks/Api/SubscriptionsApi.php @@ -92,15 +92,15 @@ class SubscriptionsApi ]; /** - * @param ClientInterface $client - * @param Configuration $config - * @param HeaderSelector $selector + * @param ClientInterface|null $client + * @param Configuration|null $config + * @param HeaderSelector|null $selector * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec */ public function __construct( - ClientInterface $client = null, - Configuration $config = null, - HeaderSelector $selector = null, + ?ClientInterface $client = null, + ?Configuration $config = null, + ?HeaderSelector $selector = null, $hostIndex = 0 ) { $this->client = $client ?: new Client(); diff --git a/codegen/Webhooks/Configuration.php b/codegen/Webhooks/Configuration.php index 364157e1d..086f5f189 100644 --- a/codegen/Webhooks/Configuration.php +++ b/codegen/Webhooks/Configuration.php @@ -486,7 +486,7 @@ public function getHostSettings() * @param array|null $variables hash of variable and the corresponding value (optional) * @return string URL based on host settings */ - public static function getHostString(array $hostSettings, $hostIndex, array $variables = null) + public static function getHostString(array $hostSettings, $hostIndex, ?array $variables = null) { if (null === $variables) { $variables = []; diff --git a/codegen/Webhooks/Model/BatchInputSubscriptionBatchUpdateRequest.php b/codegen/Webhooks/Model/BatchInputSubscriptionBatchUpdateRequest.php index c9cf9da57..dce1f85c4 100644 --- a/codegen/Webhooks/Model/BatchInputSubscriptionBatchUpdateRequest.php +++ b/codegen/Webhooks/Model/BatchInputSubscriptionBatchUpdateRequest.php @@ -239,10 +239,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('inputs', $data ?? [], null); } diff --git a/codegen/Webhooks/Model/BatchResponseSubscriptionResponse.php b/codegen/Webhooks/Model/BatchResponseSubscriptionResponse.php index 76319b27f..f68ddc73f 100644 --- a/codegen/Webhooks/Model/BatchResponseSubscriptionResponse.php +++ b/codegen/Webhooks/Model/BatchResponseSubscriptionResponse.php @@ -288,10 +288,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('requested_at', $data ?? [], null); diff --git a/codegen/Webhooks/Model/BatchResponseSubscriptionResponseWithErrors.php b/codegen/Webhooks/Model/BatchResponseSubscriptionResponseWithErrors.php index 730ba6b1c..9dc95f280 100644 --- a/codegen/Webhooks/Model/BatchResponseSubscriptionResponseWithErrors.php +++ b/codegen/Webhooks/Model/BatchResponseSubscriptionResponseWithErrors.php @@ -300,10 +300,10 @@ public function getStatusAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('completed_at', $data ?? [], null); $this->setIfExists('num_errors', $data ?? [], null); diff --git a/codegen/Webhooks/Model/Error.php b/codegen/Webhooks/Model/Error.php index d08b31442..fe9602cbb 100644 --- a/codegen/Webhooks/Model/Error.php +++ b/codegen/Webhooks/Model/Error.php @@ -275,10 +275,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Webhooks/Model/ErrorDetail.php b/codegen/Webhooks/Model/ErrorDetail.php index 72cf456ea..2dd1c149f 100644 --- a/codegen/Webhooks/Model/ErrorDetail.php +++ b/codegen/Webhooks/Model/ErrorDetail.php @@ -263,10 +263,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('code', $data ?? [], null); diff --git a/codegen/Webhooks/Model/SettingsChangeRequest.php b/codegen/Webhooks/Model/SettingsChangeRequest.php index ae5c05e92..cb49211d7 100644 --- a/codegen/Webhooks/Model/SettingsChangeRequest.php +++ b/codegen/Webhooks/Model/SettingsChangeRequest.php @@ -246,10 +246,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('throttling', $data ?? [], null); $this->setIfExists('target_url', $data ?? [], null); diff --git a/codegen/Webhooks/Model/SettingsResponse.php b/codegen/Webhooks/Model/SettingsResponse.php index 8aa238086..6b88e9772 100644 --- a/codegen/Webhooks/Model/SettingsResponse.php +++ b/codegen/Webhooks/Model/SettingsResponse.php @@ -258,10 +258,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('throttling', $data ?? [], null); diff --git a/codegen/Webhooks/Model/StandardError.php b/codegen/Webhooks/Model/StandardError.php index a910fe3d5..69e1f6916 100644 --- a/codegen/Webhooks/Model/StandardError.php +++ b/codegen/Webhooks/Model/StandardError.php @@ -281,10 +281,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('sub_category', $data ?? [], null); $this->setIfExists('context', $data ?? [], null); diff --git a/codegen/Webhooks/Model/SubscriptionBatchUpdateRequest.php b/codegen/Webhooks/Model/SubscriptionBatchUpdateRequest.php index e2d5df3fb..ea708e8b5 100644 --- a/codegen/Webhooks/Model/SubscriptionBatchUpdateRequest.php +++ b/codegen/Webhooks/Model/SubscriptionBatchUpdateRequest.php @@ -245,10 +245,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('active', $data ?? [], null); $this->setIfExists('id', $data ?? [], null); diff --git a/codegen/Webhooks/Model/SubscriptionCreateRequest.php b/codegen/Webhooks/Model/SubscriptionCreateRequest.php index 17ec4600f..ce6740206 100644 --- a/codegen/Webhooks/Model/SubscriptionCreateRequest.php +++ b/codegen/Webhooks/Model/SubscriptionCreateRequest.php @@ -363,10 +363,10 @@ public function getEventTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('object_type_id', $data ?? [], null); $this->setIfExists('property_name', $data ?? [], null); diff --git a/codegen/Webhooks/Model/SubscriptionListResponse.php b/codegen/Webhooks/Model/SubscriptionListResponse.php index b4b6b9087..fe597d9d8 100644 --- a/codegen/Webhooks/Model/SubscriptionListResponse.php +++ b/codegen/Webhooks/Model/SubscriptionListResponse.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('results', $data ?? [], null); } diff --git a/codegen/Webhooks/Model/SubscriptionPatchRequest.php b/codegen/Webhooks/Model/SubscriptionPatchRequest.php index cccd98be7..c66151bd1 100644 --- a/codegen/Webhooks/Model/SubscriptionPatchRequest.php +++ b/codegen/Webhooks/Model/SubscriptionPatchRequest.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('active', $data ?? [], null); } diff --git a/codegen/Webhooks/Model/SubscriptionResponse.php b/codegen/Webhooks/Model/SubscriptionResponse.php index 1dd9fabdd..bbeb92cf2 100644 --- a/codegen/Webhooks/Model/SubscriptionResponse.php +++ b/codegen/Webhooks/Model/SubscriptionResponse.php @@ -381,10 +381,10 @@ public function getEventTypeAllowableValues() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('created_at', $data ?? [], null); $this->setIfExists('object_type_id', $data ?? [], null); diff --git a/codegen/Webhooks/Model/ThrottlingSettings.php b/codegen/Webhooks/Model/ThrottlingSettings.php index 053d2a16d..be774bb97 100644 --- a/codegen/Webhooks/Model/ThrottlingSettings.php +++ b/codegen/Webhooks/Model/ThrottlingSettings.php @@ -240,10 +240,10 @@ public function getModelName() /** * Constructor * - * @param mixed[] $data Associated array of property values + * @param mixed[]|null $data Associated array of property values * initializing the model */ - public function __construct(array $data = null) + public function __construct(?array $data = null) { $this->setIfExists('max_concurrent_requests', $data ?? [], null); }