From b2f2b931ae1bdbb0bec8173390128aff35b81b07 Mon Sep 17 00:00:00 2001 From: Matt Lody <mattlody@gmail.com> Date: Mon, 17 Oct 2011 21:12:34 +0100 Subject: [PATCH] Fixed bug to make postcodes uppercase --- src/Faker/Provider/Address.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Faker/Provider/Address.php b/src/Faker/Provider/Address.php index c0bf67a9..8f287126 100644 --- a/src/Faker/Provider/Address.php +++ b/src/Faker/Provider/Address.php @@ -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))); } /**