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

removed unused var

This commit is contained in:
Hugo Fonseca 2014-04-17 01:49:30 +01:00
parent d0f6a36aca
commit cf6ff8ea7c

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])) {