Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions codegen/Crm/Objects/Api/BasicApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ class BasicApi
* @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();
Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Objects/Api/BatchApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ class BatchApi
* @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();
Expand Down
6 changes: 3 additions & 3 deletions codegen/Crm/Objects/Api/SearchApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ class SearchApi
* @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();
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/AssociatedId.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/AssociationSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public function getAssociationCategoryAllowableValues()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function getStatusAllowableValues()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function getStatusAllowableValues()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function getStatusAllowableValues()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function getStatusAllowableValues()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/ErrorDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public function getOperatorAllowableValues()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/FilterGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/ForwardPaging.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/NextPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/Paging.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/PreviousPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/PublicAssociationsForObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/PublicObjectId.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/PublicObjectSearchRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/SimplePublicObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/SimplePublicObjectBatchInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/SimplePublicObjectId.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/SimplePublicObjectInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function getModelName()
* @param mixed[] $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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getModelName()
* @param mixed[] $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('properties', $data ?? [], null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/SimplePublicUpsertObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/StandardError.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down
2 changes: 1 addition & 1 deletion codegen/Crm/Objects/Model/ValueWithTimestamp.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function getModelName()
* @param mixed[] $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);
Expand Down