CountryCode inherits from AbstractRule instead

This commit is contained in:
Emmerson 2015-10-26 12:18:15 -03:00 committed by Henrique Moody
parent cd46545855
commit d579ce4efc

View file

@ -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';