diff --git a/src/Codes.php b/src/Codes.php index edc785d..d04ffc2 100644 --- a/src/Codes.php +++ b/src/Codes.php @@ -544,7 +544,8 @@ public static function isValid($code) { return isset(static::$countries[strtoupper($code)]); } - + + // kept for backward compatibility. Use countrySelector() method for better naming. public static function select($class = '', $name = 'country', $selected = null) { return sprintf(''; } + + // same as select() method but better naming. + public static function countrySelector($class = '', $name = 'country', $selected = null) + { + return sprintf(''; + } + }