1
0
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:
Matt Lody 2011-10-17 20:19:41 +01:00
parent edfc5302d8
commit 4baf28adf7

View File

@ -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));
}
/**