mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-24 09:19:50 +01:00
Remove space in generated emails.
This commit is contained in:
parent
cc2a254a5c
commit
07d7df09bb
@ -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