src/Resource/Refund.php
Method populate
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function populate(stdClass $response)
{
$refund = clone $this;
$refund->data->id = $this->getIfSet('id', $response);
Method bankAccountPartial
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function bankAccountPartial($amount, $type, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber, Customer $holder)
Method bankAccountDataCustomer
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function bankAccountDataCustomer($type, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber, Customer $holder)
Method bankAccountFull
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function bankAccountFull($type, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber, Customer $holder)