Refactoring
This commit is contained in:
parent
4c68ebbe9d
commit
8ed3cacfe8
@ -46,7 +46,7 @@ class Container extends AbstractElement
|
||||
return;
|
||||
}
|
||||
$containerClass = substr(get_class($container), strrpos(get_class($container), '\\') + 1);
|
||||
$withoutP = in_array($containerClass, array('TextRun', 'Footnote', 'Endnote', 'ListItemRun')) ? true : false;
|
||||
$withoutP = in_array($containerClass, array('TextRun', 'Footnote', 'Endnote', 'ListItemRun'));
|
||||
$xmlWriter = $this->getXmlWriter();
|
||||
|
||||
// Loop through elements
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user