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 1fc73d4 commit a081351Copy full SHA for a081351
src/PhpWord/Writer/RTF/Style/Section.php
@@ -75,9 +75,7 @@ public function write()
75
'evenPage' => '\sbkeven',
76
'oddPage' => '\sbkodd',
77
];
78
- if (isset($breakTypes[$style->getBreakType()])) {
79
- $content .= $breakTypes[$style->getBreakType()];
80
- }
+ $content .= $breakTypes[(string) $style->getBreakType()] ?? '';
81
82
// Vertical Align
83
$verticalAlign = [
0 commit comments