mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 16:29:55 +01:00
Merge pull request #61 from blaugueux/email-space
Remove spaces in generated emails.
This commit is contained in:
commit
7f1e1cda75
@ -29,7 +29,7 @@ class Internet extends \Faker\Provider\Base
|
||||
public function email()
|
||||
{
|
||||
$format = static::randomElement(static::$emailFormats);
|
||||
return $this->generator->parse($format);
|
||||
return preg_replace('/\s/', '', $this->generator->parse($format));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user