Skip to content

A PHPDoc result type for the \Paymill\Models\Response\Client::getPayment() method is wrong #139

@dmitrii-fediuk

Description

@dmitrii-fediuk
@return \Paymill\Models\Response\Payment

https://github.com/paymill/paymill-php/blob/v4.4.1/lib/Paymill/Models/Response/Client.php#L81

It is wrong, because the method can return an array (a list of payments):

06

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