mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 00:09:59 +01:00
Fixed bug to make postcodes uppercase
This commit is contained in:
parent
24533417c3
commit
b2f2b931ae
@ -81,7 +81,7 @@ class Address extends \Faker\Provider\Base
|
||||
*/
|
||||
public static function postcode()
|
||||
{
|
||||
return static::bothify(static::randomElement(static::$postcode));
|
||||
return strtoupper(static::bothify(static::randomElement(static::$postcode)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user