Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 6 additions & 6 deletions codegen/Automation/Actions/Api/CallbacksApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
12 changes: 6 additions & 6 deletions codegen/Automation/Actions/Api/DefinitionsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
12 changes: 6 additions & 6 deletions codegen/Automation/Actions/Api/FunctionsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
12 changes: 6 additions & 6 deletions codegen/Automation/Actions/Api/RevisionsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion codegen/Automation/Actions/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
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/ErrorDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/FieldTypeDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/ForwardPaging.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/InputFieldDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/NextPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/Option.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/OutputFieldDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/PublicActionDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/PublicActionFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/PublicActionLabels.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions codegen/Automation/Actions/Model/PublicActionRevision.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading