Skip to content

All classes that implement ArrayAccess have warnings. #32

Description

@bpleon

List of warning I am seeing:

zipMoney\Model\Metadata::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Metadata.php, line: 158)
zipMoney\Model\Metadata::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Metadata.php, line: 144)
zipMoney\Model\Metadata::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Metadata.php, line: 133)
zipMoney\Model\Metadata::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Metadata.php, line: 123)
zipMoney\Model\Checkout::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Checkout.php, line: 530)
zipMoney\Model\Checkout::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Checkout.php, line: 516)
zipMoney\Model\Checkout::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Checkout.php, line: 505)
zipMoney\Model\Checkout::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Checkout.php, line: 495)
zipMoney\Model\CheckoutConfiguration::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutConfiguration.php, line: 190)
zipMoney\Model\CheckoutConfiguration::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutConfiguration.php, line: 176)
zipMoney\Model\CheckoutConfiguration::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutConfiguration.php, line: 165)
zipMoney\Model\CheckoutConfiguration::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutConfiguration.php, line: 155)
zipMoney\Model\OrderItem::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/OrderItem.php, line: 492)
zipMoney\Model\OrderItem::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/OrderItem.php, line: 478)
zipMoney\Model\OrderItem::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/OrderItem.php, line: 467)
zipMoney\Model\OrderItem::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/OrderItem.php, line: 457)
zipMoney\Model\OrderShipping::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/OrderShipping.php, line: 236)
zipMoney\Model\OrderShipping::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/OrderShipping.php, line: 222)
zipMoney\Model\OrderShipping::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/OrderShipping.php, line: 211)
zipMoney\Model\OrderShipping::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/OrderShipping.php, line: 201)
zipMoney\Model\CheckoutOrder::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutOrder.php, line: 366)
zipMoney\Model\CheckoutOrder::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutOrder.php, line: 352)
zipMoney\Model\CheckoutOrder::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutOrder.php, line: 341)
zipMoney\Model\CheckoutOrder::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CheckoutOrder.php, line: 331)
zipMoney\Model\Address::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Address.php, line: 483)
zipMoney\Model\Address::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Address.php, line: 469)
zipMoney\Model\Address::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Address.php, line: 458)
zipMoney\Model\Address::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Address.php, line: 448)
zipMoney\Model\Shopper::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Shopper.php, line: 483)
zipMoney\Model\Shopper::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Shopper.php, line: 469)
zipMoney\Model\Shopper::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Shopper.php, line: 458)
zipMoney\Model\Shopper::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/Shopper.php, line: 448)
zipMoney\Model\CreateCheckoutRequest::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequest.php, line: 353)
zipMoney\Model\CreateCheckoutRequest::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequest.php, line: 339)
zipMoney\Model\CreateCheckoutRequest::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequest.php, line: 328)
zipMoney\Model\CreateCheckoutRequest::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice (file: /var/www/site/vendor/zipmoney/merchantapi-php/lib/Model/CreateCheckoutRequest.php, line: 318)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions