Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #729 from vlakoff/provider-internet
Browse files Browse the repository at this point in the history
Optimize userName and domainWord
  • Loading branch information
fzaninotto committed Oct 6, 2015
2 parents 31e2dd7 + 7ba6850 commit 5c3fa24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Faker/Provider/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -252,7 +252,7 @@ public function domainWord()
{
$lastName = $this->generator->format('lastName');

return static::toLower(static::transliterate($lastName));
return strtolower(static::transliterate($lastName));
}

/**
Expand Down

0 comments on commit 5c3fa24

Please sign in to comment.