From d7a7a4fbfb69a01f8bc4af3fdcc2140561b4f54a Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Wed, 13 Nov 2013 10:16:34 +0100 Subject: [PATCH] Update Internet.php --- src/Faker/Provider/it_IT/Internet.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Faker/Provider/it_IT/Internet.php b/src/Faker/Provider/it_IT/Internet.php index 6e87907f..feb91e7f 100644 --- a/src/Faker/Provider/it_IT/Internet.php +++ b/src/Faker/Provider/it_IT/Internet.php @@ -7,6 +7,14 @@ class Internet extends \Faker\Provider\Internet protected static $freeEmailDomain = array('gmail.com', 'yahoo.com', 'hotmail.com', 'email.it', 'libero.it', 'yahoo.it'); protected static $tld = array('com', 'com', 'com', 'net', 'org', 'it', 'it', 'it'); + /** + * @{inheritdoc} + */ + public function userName() + { + return static::toAscii(parent::userName()); + } + /** * Converts Italian characters to their ASCII representation *