File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Yaml Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ private function getNextEmbedBlock($indentation = null, $inSequence = false)
448
448
}
449
449
450
450
// we ignore "comment" lines only when we are not inside a scalar block
451
- if (empty ($ blockScalarIndentations ) && $ this ->isCurrentLineComment () && false === $ this ->isPreviousNonCommentLineIsCollectionItem ()) {
451
+ if (empty ($ blockScalarIndentations ) && $ this ->isCurrentLineComment () && false === $ this ->checkIfPreviousNonCommentLineIsCollectionItem ()) {
452
452
continue ;
453
453
}
454
454
@@ -826,11 +826,11 @@ private function isCurrentLineCollectionItem()
826
826
}
827
827
828
828
/**
829
- * Tests whether or not the current comment line is in a collection.
829
+ * Tests whether the current comment line is in a collection.
830
830
*
831
831
* @return bool
832
832
*/
833
- private function isPreviousNonCommentLineIsCollectionItem ()
833
+ private function checkIfPreviousNonCommentLineIsCollectionItem ()
834
834
{
835
835
$ isCollectionItem = false ;
836
836
$ moves = 0 ;
You can’t perform that action at this time.
0 commit comments