From d579ce4efc1cbb2e01ac9e361a69c0052997d705 Mon Sep 17 00:00:00 2001 From: Emmerson Date: Mon, 26 Oct 2015 12:18:15 -0300 Subject: [PATCH] CountryCode inherits from AbstractRule instead --- library/Rules/CountryCode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Rules/CountryCode.php b/library/Rules/CountryCode.php index 37cc8c80..91dbfd28 100644 --- a/library/Rules/CountryCode.php +++ b/library/Rules/CountryCode.php @@ -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';