Skip to content

A PHPDoc type for the $payment argument of the \Paymill\Models\Response\Client::setPayment() method is wrong #140

@dmitrii-fediuk

Description

@dmitrii-fediuk
@param \Paymill\Models\Response\Payment $payment

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

It is wrong, because the method can accept an array (a list of payments) as a $payment argument value.

Related to #139

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions