1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-08 01:23:33 +02:00

Update Internet.php

This commit is contained in:
Massimiliano Arione 2013-11-19 09:12:45 +01:00
parent d7a7a4fbfb
commit 056d6c30ca

View File

@ -12,7 +12,9 @@ class Internet extends \Faker\Provider\Internet
*/
public function userName()
{
return static::toAscii(parent::userName());
$format = static::randomElement(static::$userNameFormats);
return static::toLower(static::toAscii(static::bothify($this->generator->parse($format))));
}
/**