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.
2 parents bded91a + 8ed3cac commit def0237Copy full SHA for def0237
src/PhpWord/Writer/Word2007/Element/Container.php
@@ -46,7 +46,7 @@ public function write()
46
return;
47
}
48
$containerClass = substr(get_class($container), strrpos(get_class($container), '\\') + 1);
49
- $withoutP = in_array($containerClass, array('TextRun', 'Footnote', 'Endnote', 'ListItemRun')) ? true : false;
+ $withoutP = in_array($containerClass, array('TextRun', 'Footnote', 'Endnote', 'ListItemRun'));
50
$xmlWriter = $this->getXmlWriter();
51
52
// Loop through elements
0 commit comments