Skip to content

PHP 8.4 compatibility #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions lib/Model/AbstractAccountUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ class AbstractAccountUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -110,10 +110,10 @@ class AbstractApplicationUserUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -130,10 +130,10 @@ class AbstractCustomerActive implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -105,10 +105,10 @@ class AbstractCustomerAddressActive implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -100,10 +100,10 @@ class AbstractCustomerCommentActive implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

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

$this->container['billing_address'] = isset($data['billing_address']) ? $data['billing_address'] : 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 @@ -135,10 +135,10 @@ class AbstractHumanUserUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -150,10 +150,10 @@ class AbstractPaymentLinkUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -100,10 +100,10 @@ class AbstractRefundCommentActive implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -165,10 +165,10 @@ class AbstractShopifySubscriptionProductUpdate implements ModelInterface, ArrayA
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -135,10 +135,10 @@ class AbstractSpaceUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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/AbstractSubscriberUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ class AbstractSubscriberUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$this->container['additional_allowed_payment_method_configurations'] = isset($data['additional_allowed_payment_method_configurations']) ? $data['additional_allowed_payment_method_configurations'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractSubscriptionAffiliateUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ class AbstractSubscriptionAffiliateUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$this->container['language'] = isset($data['language']) ? $data['language'] : null;
Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AbstractSubscriptionMetricUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ class AbstractSubscriptionMetricUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

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

$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/AbstractTokenUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ class AbstractTokenUpdate implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -100,10 +100,10 @@ class AbstractTransactionCommentActive implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

$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 @@ -100,10 +100,10 @@ class AbstractTransactionInvoiceCommentActive implements ModelInterface, ArrayAc
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

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

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

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

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

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

Expand Down
4 changes: 2 additions & 2 deletions lib/Model/AccountUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ class AccountUpdate extends AbstractAccountUpdate
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
parent::__construct($data);

Expand Down
4 changes: 2 additions & 2 deletions lib/Model/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ class Address implements ModelInterface, ArrayAccess
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{

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

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

Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ApplicationUserCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ class ApplicationUserCreate extends AbstractApplicationUserUpdate
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
parent::__construct($data);

Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ApplicationUserCreateWithMacKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ class ApplicationUserCreateWithMacKey extends ApplicationUser
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
parent::__construct($data);

Expand Down
4 changes: 2 additions & 2 deletions lib/Model/ApplicationUserUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ class ApplicationUserUpdate extends AbstractApplicationUserUpdate
/**
* Constructor
*
* @param mixed[] $data Associated array of property values
* @param mixed[]|null $data Associated array of property values
* initializing the model
*/
public function __construct(array $data = null)
public function __construct(?array $data = null)
{
parent::__construct($data);

Expand Down
Loading