Skip to content
Open
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
2 changes: 1 addition & 1 deletion lib/Model/AbstractAccountUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class AbstractAccountUpdate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['last_modified_date'] = isset($data['last_modified_date']) ? $data['last_modified_date'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractApplicationUserUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractApplicationUserUpdate implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -113,7 +113,7 @@ class AbstractApplicationUserUpdate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['name'] = isset($data['name']) ? $data['name'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractCustomerActive.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractCustomerActive implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -133,7 +133,7 @@ class AbstractCustomerActive implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['customer_id'] = isset($data['customer_id']) ? $data['customer_id'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractCustomerAddressActive.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractCustomerAddressActive implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -108,7 +108,7 @@ class AbstractCustomerAddressActive implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['address'] = isset($data['address']) ? $data['address'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractCustomerCommentActive.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractCustomerCommentActive implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -103,7 +103,7 @@ class AbstractCustomerCommentActive implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['content'] = isset($data['content']) ? $data['content'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractHumanUserUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractHumanUserUpdate implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -138,7 +138,7 @@ class AbstractHumanUserUpdate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['email_address'] = isset($data['email_address']) ? $data['email_address'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractPaymentLinkUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractPaymentLinkUpdate implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -153,7 +153,7 @@ class AbstractPaymentLinkUpdate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['allowed_payment_method_configurations'] = isset($data['allowed_payment_method_configurations']) ? $data['allowed_payment_method_configurations'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractRefundCommentActive.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractRefundCommentActive implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -103,7 +103,7 @@ class AbstractRefundCommentActive implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['content'] = isset($data['content']) ? $data['content'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractShopifySubscriptionProductUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractShopifySubscriptionProductUpdate implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -168,7 +168,7 @@ class AbstractShopifySubscriptionProductUpdate implements ModelInterface, ArrayA
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['absolute_price_adjustment'] = isset($data['absolute_price_adjustment']) ? $data['absolute_price_adjustment'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractSpaceUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractSpaceUpdate implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -138,7 +138,7 @@ class AbstractSpaceUpdate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['last_modified_date'] = isset($data['last_modified_date']) ? $data['last_modified_date'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractTokenUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractTokenUpdate implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -128,7 +128,7 @@ class AbstractTokenUpdate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['customer_email_address'] = isset($data['customer_email_address']) ? $data['customer_email_address'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractTransactionCommentActive.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractTransactionCommentActive implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -103,7 +103,7 @@ class AbstractTransactionCommentActive implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['content'] = isset($data['content']) ? $data['content'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractTransactionInvoiceCommentActive.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class AbstractTransactionInvoiceCommentActive implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
const DISCRIMINATOR = [];

/**
* The original name of the model.
Expand Down Expand Up @@ -103,7 +103,7 @@ class AbstractTransactionInvoiceCommentActive implements ModelInterface, ArrayAc
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['content'] = isset($data['content']) ? $data['content'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AbstractTransactionPending.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class AbstractTransactionPending implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['allowed_payment_method_brands'] = isset($data['allowed_payment_method_brands']) ? $data['allowed_payment_method_brands'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AbstractWebhookListenerUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class AbstractWebhookListenerUpdate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['enable_payload_signature_and_state'] = isset($data['enable_payload_signature_and_state']) ? $data['enable_payload_signature_and_state'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AbstractWebhookUrlUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class AbstractWebhookUrlUpdate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['name'] = isset($data['name']) ? $data['name'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class Account implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['active'] = isset($data['active']) ? $data['active'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AccountCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class AccountCreate extends AbstractAccountUpdate
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{
parent::__construct($data);

Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AccountUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class AccountUpdate extends AbstractAccountUpdate
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{
parent::__construct($data);

Expand Down
2 changes: 1 addition & 1 deletion lib/Model/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class Address implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['city'] = isset($data['city']) ? $data['city'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AddressCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class AddressCreate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['city'] = isset($data['city']) ? $data['city'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/ApplicationUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class ApplicationUser extends User
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{
parent::__construct($data);

Expand Down
2 changes: 1 addition & 1 deletion lib/Model/ApplicationUserCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ApplicationUserCreate extends AbstractApplicationUserUpdate
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{
parent::__construct($data);

Expand Down
2 changes: 1 addition & 1 deletion lib/Model/ApplicationUserCreateWithMacKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class ApplicationUserCreateWithMacKey extends ApplicationUser
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{
parent::__construct($data);

Expand Down
2 changes: 1 addition & 1 deletion lib/Model/ApplicationUserUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class ApplicationUserUpdate extends AbstractApplicationUserUpdate
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{
parent::__construct($data);

Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AuthenticatedCardData.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class AuthenticatedCardData extends TokenizedCardData
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{
parent::__construct($data);

Expand Down
2 changes: 1 addition & 1 deletion lib/Model/AuthenticatedCardDataCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class AuthenticatedCardDataCreate implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['card_holder_name'] = isset($data['card_holder_name']) ? $data['card_holder_name'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BankAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class BankAccount implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['description'] = isset($data['description']) ? $data['description'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BankAccountType.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class BankAccountType implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['description'] = isset($data['description']) ? $data['description'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BankTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class BankTransaction implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['adjustments'] = isset($data['adjustments']) ? $data['adjustments'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BankTransactionSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class BankTransactionSource implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['description'] = isset($data['description']) ? $data['description'] : null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/BankTransactionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class BankTransactionType implements ModelInterface, ArrayAccess
* @param mixed[] $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(array $data = [])
{

$this->container['description'] = isset($data['description']) ? $data['description'] : null;
Expand Down
Loading