Skip to content

Commit 39571a0

Browse files
committed
Fixed for php 5.5
1 parent 0f7ede5 commit 39571a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TextGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private function getRandomPart($text)
172172
$openLevel = 0;
173173
$lastPos = 0;
174174
$isIgnore = false;
175-
$parts = [];
175+
$parts = array();
176176
$textLen = mb_strlen($text, $this->encoding);
177177
for ($i = 0; $i < $textLen; $i++) {
178178
$currentChar = mb_substr($text, $i, 1, $this->encoding);

0 commit comments

Comments
 (0)