Showing 3 of 3 total issues
Method __construct
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Authentication $auth,
string $name,
string $street,
string $city,
string $country,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Authentication $authentication,
bool $fetchGsPUDOpoint,
string $countryCode,
?string $postCode = null,
?string $street = null,
Method toArray
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function toArray(): array
{
$request = array_merge(
$this->authentication->toArray(),
[