Skip to content

Client return types are array not stdClass #329

@jshah4517

Description

@jshah4517

If I do a get call to the orders endpoint for example, it seems to return an array but the phpdoc says stdClass. The change that led to this documentation seems to have come in #286

This gives us problems as phpstan reports errors based on the return type expected. Is the correct return type array or should it be returning an stdClass?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions