Closed blaaat closed 3 years ago
VIES_EU_COUNTRY_LISTis a protected const, but all other code is using self::VIES_EU_COUNTRY_LIST.
VIES_EU_COUNTRY_LIST
self::VIES_EU_COUNTRY_LIST
the protected visibility gives the illusion you can extend the class and for example remove UK (#98 ), but this wouldn't work.
VIES_EU_COUNTRY_LIST should either be private or beter; other methods should use: static::VIES_EU_COUNTRY_LIST
static::VIES_EU_COUNTRY_LIST
Not going to make them static
VIES_EU_COUNTRY_LIST
is a protected const, but all other code is usingself::VIES_EU_COUNTRY_LIST
.the protected visibility gives the illusion you can extend the class and for example remove UK (#98 ), but this wouldn't work.
VIES_EU_COUNTRY_LIST should either be private or beter; other methods should use:
static::VIES_EU_COUNTRY_LIST