1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-25 17:59:47 +01:00

Merge pull request #302 from hugofonseca/patch-2

removed unused var
This commit is contained in:
Francois Zaninotto 2014-04-17 22:45:41 +02:00
commit 470033ae8e

View File

@ -80,7 +80,7 @@ abstract class Text extends \Faker\Provider\Base
for ($i = 0; $i < $indexSize; $i++) {
$index[] = array_shift($parts);
}
$size = count($parts);
for ($i = 0, $count = count($parts); $i < $count; $i++) {
$stringIndex = implode(' ', $index);
if (!isset($words[$stringIndex])) {