Minor cleanup

This commit is contained in:
Dustin Wilson 2021-11-18 11:29:57 -06:00
parent a4e1aa55d1
commit a76081fd18

View file

@ -307,9 +307,7 @@ abstract class Serializer {
$s .= self::serializeInnerNodes($node, $innerConfig);
if ($reformatWhitespace) {
if ($hasChildNodes) {
$indentionLevel--;
}
$indentionLevel--;
if (!$preformattedContent) {
$modify = false;