Skip to content

Commit 5179074

Browse files
committed
php 5.3 compatibility fix
1 parent 869a363 commit 5179074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PhpWord/TemplateProcessorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ public function testSetImageValue()
211211

212212
$variablesReplace = array(
213213
'headerValue' => $imagePath,
214-
'documentContent' => ["path" => $imagePath, "width" => 500, "height" => 500],
215-
'footerValue' => ["path" => $imagePath, "width" => 50, "height" => 50],
214+
'documentContent' => array("path" => $imagePath, "width" => 500, "height" => 500),
215+
'footerValue' => array("path" => $imagePath, "width" => 50, "height" => 50),
216216
);
217217
$templateProcessor->setImageValue(array_keys($variablesReplace), $variablesReplace);
218218

0 commit comments

Comments
 (0)