Skip to content

Commit b011e6f

Browse files
committed
5.3 array syntax
1 parent f51422a commit b011e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpWord/TemplateProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ protected function getSlice($startPosition, $endPosition = 0)
552552
*/
553553
protected function indexClonedVariables($count, $xmlBlock)
554554
{
555-
$results = [];
555+
$results = array();
556556
for ($i = 1; $i <= $count; $i++) {
557557
$results[] = preg_replace('/\$\{(.*?)\}/', '\${\\1#' . $i . '}', $xmlBlock);
558558
}

0 commit comments

Comments
 (0)