diff --git a/README.md b/README.md index 4e00073d2..ade3a8306 100755 --- a/README.md +++ b/README.md @@ -315,7 +315,7 @@ Reference * [v::tld()](#vtld) * [v::countryCode()](#vcountrycode) - * [v::postalCode()](#vpostalcode) + * [v::postalCode()](#vpostalcodestring-countrycode) ### Files @@ -1632,7 +1632,7 @@ See also: * [v::negative()](#vnegative) -#### v::postalCode($countryCode) +#### v::postalCode(string $countryCode) Validates a postal code according to the given country code. diff --git a/library/Validator.php b/library/Validator.php index e57acebee..a7c8746e7 100644 --- a/library/Validator.php +++ b/library/Validator.php @@ -72,7 +72,7 @@ * @method static Validator perfectSquare() * @method static Validator phone() * @method static Validator positive() - * @method static Validator postalCode($countryCode) + * @method static Validator postalCode(string $countryCode) * @method static Validator primeNumber() * @method static Validator prnt(string $additionalChars = null) * @method static Validator punct(string $additionalChars = null)