Skip to content

Deprecated Method 'Exchange\Client\Json\DataObject' #3

@nhanledev

Description

@nhanledev

Hi,

There is a deprecated method in your SDK on newer PHP version (8.3 at the moment) on these functions:

offsetExists
offsetGet
offsetSet
offsetUnset
jsonSerialize

with this general error:

PHP message: PHP Deprecated:  Return type of Exchange\Client\Json\DataObject::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/allsecure-pay/php-exchange/src/Json/DataObject.php on line 84;

PHP message: PHP Deprecated:  Return type of Exchange\Client\Json\DataObject::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/allsecure-pay/php-exchange/src/Json/DataObject.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions