8000 applied fixes from https://fabbot.io/report/symfony/symfony/59315/61c… · symfony/symfony@6101143 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6101143

Browse files
author
gr8b
committed
1 parent ae4d221 commit 6101143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Yaml/Dumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private function doDump(mixed $input, int $inline = 0, int $indent = 0, int $fla
136136
$prefix,
137137
$dumpAsMap ? Inline::dump($key, $flags).':' : '-',
138138
$willBeInlined || ($compactNestedMapping && \is_array($value)) ? ' ' : "\n",
139-
$compactNestedMapping && \is_array($value) ? \substr($this->doDump($value, $inline - 1, $indent + 2, $flags, $nestingLevel + 1), $indent + 2) : $this->doDump($value, $inline - 1, $willBeInlined ? 0 : $indent + $this->indentation, $flags, $nestingLevel + 1)
139+
$compactNestedMapping && \is_array($value) ? substr($this->doDump($value, $inline - 1, $indent + 2, $flags, $nestingLevel + 1), $indent + 2) : $this->doDump($value, $inline - 1, $willBeInlined ? 0 : $indent + $this->indentation, $flags, $nestingLevel + 1)
140140
).($willBeInlined ? "\n" : '');
141141
}
142142
}

0 commit comments

Comments
 (0)
0