1
0
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:
blaugueux 2012-10-18 07:54:56 +02:00
parent cc2a254a5c
commit 07d7df09bb

View File

@ -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));
}
/**