File tree 1 file changed +3
-3
lines changed
src/Symfony/Component/Yaml
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ private function getNextEmbedBlock($indentation = null, $inSequence = false)
417
417
}
418
418
419
419
// we ignore "comment" lines only when we are not inside a scalar block
420
- if (empty ($ blockScalarIndentations ) && $ this ->isCurrentLineComment () && false === $ this ->isPreviousNonCommentLineIsCollectionItem ()) {
420
+ if (empty ($ blockScalarIndentations ) && $ this ->isCurrentLineComment () && false === $ this ->checkIfPreviousNonCommentLineIsCollectionItem ()) {
421
421
continue ;
422
422
}
423
423
@@ -791,11 +791,11 @@ private function isCurrentLineCollectionItem()
791
791
}
792
792
793
793
/**
794
- * Tests whether or not the current comment line is in a collection.
794
+ * Tests whether the current comment line is in a collection.
795
795
*
796
796
* @return bool
797
797
*/
798
- private function isPreviousNonCommentLineIsCollectionItem ()
798
+ private function checkIfPreviousNonCommentLineIsCollectionItem ()
799
799
{
800
800
$ isCollectionItem = false ;
801
801
$ moves = 0 ;
You can’t perform that action at this time.
0 commit comments