mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-24 01:09:50 +01:00
Add French realText provider
Also, fixed an utf8 bug in realText provider
This commit is contained in:
parent
ea67b69b01
commit
ad87ed4ea3
@ -99,7 +99,7 @@ abstract class Text extends \Faker\Provider\Base
|
||||
protected function getExplodedText()
|
||||
{
|
||||
if ($this->explodedText === null) {
|
||||
$this->explodedText = explode(' ', preg_replace('/\s+/', ' ', static::$baseText));
|
||||
$this->explodedText = explode(' ', preg_replace('/\s+/u', ' ', static::$baseText));
|
||||
}
|
||||
|
||||
return $this->explodedText;
|
||||
|
15539
src/Faker/Provider/fr_FR/Text.php
Normal file
15539
src/Faker/Provider/fr_FR/Text.php
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user