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

Commit

Permalink
Optimize userName and domainWord
Browse files Browse the repository at this point in the history
  • Loading branch information
vlakoff committed Oct 5, 2015
1 parent 31e2dd7 commit 7ba6850
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 7ba6850

Please sign in to comment.