From 7ba68505c74b17d554ac2d6210816b4814c134fb Mon Sep 17 00:00:00 2001 From: vlakoff Date: Mon, 5 Oct 2015 20:55:22 +0200 Subject: [PATCH] Optimize userName and domainWord --- src/Faker/Provider/Internet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Faker/Provider/Internet.php b/src/Faker/Provider/Internet.php index 8ddb7b202c..1ece0746a2 100644 --- a/src/Faker/Provider/Internet.php +++ b/src/Faker/Provider/Internet.php @@ -225,7 +225,7 @@ public function userName() $format = static::randomElement(static::$userNameFormats); $username = static::bothify($this->generator->parse($format)); - return static::toLower(static::transliterate($username)); + return strtolower(static::transliterate($username)); } /** * @example 'fY4èHdZv68' @@ -252,7 +252,7 @@ public function domainWord() { $lastName = $this->generator->format('lastName'); - return static::toLower(static::transliterate($lastName)); + return strtolower(static::transliterate($lastName)); } /**