1
0
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:
Matt Lody 2011-10-17 21:12:34 +01:00
parent 24533417c3
commit b2f2b931ae

View File

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