mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 00:09:59 +01:00
Changed postcode() function to use bothify() instead of numerify() so that GB-style postcodes containing letters can be used
This commit is contained in:
parent
edfc5302d8
commit
4baf28adf7
@ -81,7 +81,7 @@ class Address extends \Faker\Provider\Base
|
||||
*/
|
||||
public static function postcode()
|
||||
{
|
||||
return static::numerify(static::randomElement(static::$postcode));
|
||||
return static::bothify(static::randomElement(static::$postcode));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user