mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 09:10:08 +02:00
CountryCode inherits from AbstractRule instead
This commit is contained in:
parent
cd46545855
commit
d579ce4efc
|
@ -16,7 +16,7 @@ use Respect\Validation\Exceptions\ComponentException;
|
|||
/**
|
||||
* Validates countries in ISO 3166-1.
|
||||
*/
|
||||
class CountryCode extends AbstractSearcher
|
||||
class CountryCode extends AbstractRule
|
||||
{
|
||||
const ALPHA2 = 'alpha-2';
|
||||
const ALPHA3 = 'alpha-3';
|
||||
|
|
Loading…
Reference in a new issue