mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 15:25:45 +01:00
CountryCode inherits from AbstractRule instead
This commit is contained in:
parent
cd46545855
commit
d579ce4efc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue