Skip to content

Commit e2bdab4

Browse files
committed
Fix wrong postalCode() documentation
1 parent 54c61f0 commit e2bdab4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ Reference
315315

316316
* [v::tld()](#vtld)
317317
* [v::countryCode()](#vcountrycode)
318-
* [v::postalCode()](#vpostalcode)
318+
* [v::postalCode()](#vpostalcodestring-countrycode)
319319

320320
### Files
321321

@@ -1632,7 +1632,7 @@ See also:
16321632

16331633
* [v::negative()](#vnegative)
16341634

1635-
#### v::postalCode($countryCode)
1635+
#### v::postalCode(string $countryCode)
16361636

16371637
Validates a postal code according to the given country code.
16381638

library/Validator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
* @method static Validator perfectSquare()
7373
* @method static Validator phone()
7474
* @method static Validator positive()
75-
* @method static Validator postalCode($countryCode)
75+
* @method static Validator postalCode(string $countryCode)
7676
* @method static Validator primeNumber()
7777
* @method static Validator prnt(string $additionalChars = null)
7878
* @method static Validator punct(string $additionalChars = null)

0 commit comments

Comments
 (0)