Skip to content

Commit

Permalink
Make syntax php 5.3 compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
troosan committed Feb 8, 2021
1 parent f832a7c commit e1bbc85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/PhpWord/Shared/HtmlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,9 +639,9 @@ public function testParseLetterSpacing()
public function testParseTableAndCellWidth()
{
$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection([
$section = $phpWord->addSection(array(
'orientation' => \PhpOffice\PhpWord\Style\Section::ORIENTATION_LANDSCAPE,
]);
));

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

0 comments on commit e1bbc85

Please sign in to comment.