We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61c40e commit 4b9ae18Copy full SHA for 4b9ae18
src/PhpWord/Writer/HTML/Element/Table.php
@@ -41,7 +41,7 @@ public function write()
41
if ($rowCount > 0) {
42
$tableStyle = $this->element->getStyle();
43
$tableLayout = $tableStyle === null ? '' : $tableStyle->getLayout();
44
- $content .= '<table'. (empty($tableLayout) ? '' : ' style="table-layout: '.$tableLayout.'"') .'>'. PHP_EOL;
+ $content .= '<table' . (empty($tableLayout) ? '' : ' style="table-layout: ' . $tableLayout . '"') . '>' . PHP_EOL;
45
for ($i = 0; $i < $rowCount; $i++) {
46
/** @var $row \PhpOffice\PhpWord\Element\Row Type hint */
47
$rowStyle = $rows[$i]->getStyle();
0 commit comments