From e1bbc85cc4b8f5c078a3dba23b7d1332e46dc9d4 Mon Sep 17 00:00:00 2001 From: troosan Date: Mon, 8 Feb 2021 22:40:46 +0100 Subject: [PATCH] Make syntax php 5.3 compliant --- tests/PhpWord/Shared/HtmlTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/PhpWord/Shared/HtmlTest.php b/tests/PhpWord/Shared/HtmlTest.php index 7a806c26..05e2398a 100644 --- a/tests/PhpWord/Shared/HtmlTest.php +++ b/tests/PhpWord/Shared/HtmlTest.php @@ -639,9 +639,9 @@ class HtmlTest extends AbstractWebServerEmbeddedTest 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 = <<