src/Resource/Customer.php
Customer
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Customer extends MoipResource
{
/**
* Path customers API.
*
Method addAddress
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function addAddress($type, $street, $number, $district, $city, $state, $zip, $complement = null, $country = self::ADDRESS_COUNTRY)
Method setCreditCard
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function setCreditCard($expirationMonth, $expirationYear, $number, $cvc, Holder $holder = null)