Showing 2 of 6 total issues
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CountryRepositoryInterface $country_repository,
SubdivisionRepositoryInterface $subdivision_repository,
AddressFormatRepositoryInterface $address_format_repository,
string $locale = 'en',
string $fallback_locale = 'en'
Avoid too many return
statements within this method. Open
Open
return $parent === $subdivision->getParent();