Make syntax php 5.3 compliant

This commit is contained in:
troosan 2021-02-08 22:40:46 +01:00 committed by GitHub
parent f832a7c9db
commit e1bbc85cc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -639,9 +639,9 @@ class HtmlTest extends AbstractWebServerEmbeddedTest
public function testParseTableAndCellWidth() public function testParseTableAndCellWidth()
{ {
$phpWord = new \PhpOffice\PhpWord\PhpWord(); $phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection([ $section = $phpWord->addSection(array(
'orientation' => \PhpOffice\PhpWord\Style\Section::ORIENTATION_LANDSCAPE, 'orientation' => \PhpOffice\PhpWord\Style\Section::ORIENTATION_LANDSCAPE,
]); ));
// borders & backgrounds are here just for better visual comparison // borders & backgrounds are here just for better visual comparison
$html = <<<HTML $html = <<<HTML