diff --git a/src/Faker/Provider/Text.php b/src/Faker/Provider/Text.php index a1e63dbf..dd3e17a6 100644 --- a/src/Faker/Provider/Text.php +++ b/src/Faker/Provider/Text.php @@ -74,7 +74,7 @@ abstract class Text extends \Faker\Provider\Base if (!isset($this->consecutiveWords[$indexSize])) { $parts = $this->getExplodedText(); $words = array(); - $index = []; + $index = array(); for ($i = 0; $i < $indexSize; $i++) { $index[] = array_shift($parts); }