Skip to content

Commit e1bbc85

Browse files
authored
Make syntax php 5.3 compliant
1 parent f832a7c commit e1bbc85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PhpWord/Shared/HtmlTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,9 +639,9 @@ public function testParseLetterSpacing()
639639
public function testParseTableAndCellWidth()
640640
{
641641
$phpWord = new \PhpOffice\PhpWord\PhpWord();
642-
$section = $phpWord->addSection([
642+
$section = $phpWord->addSection(array(
643643
'orientation' => \PhpOffice\PhpWord\Style\Section::ORIENTATION_LANDSCAPE,
644-
]);
644+
));
645645

646646
// borders & backgrounds are here just for better visual comparison
647647
$html = <<<HTML

0 commit comments

Comments
 (0)