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 @@ -417,7 +417,7 @@ private function getNextEmbedBlock($indentation = null, $inSequence = false)
417417 }
418418
419419 // 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 ()) {
421421 continue ;
422422 }
423423
@@ -791,11 +791,11 @@ private function isCurrentLineCollectionItem()
791791 }
792792
793793 /**
794- * Tests whether or not the current comment line is in a collection.
794+ * Tests whether the current comment line is in a collection.
795795 *
796796 * @return bool
797797 */
798- private function isPreviousNonCommentLineIsCollectionItem ()
798+ private function checkIfPreviousNonCommentLineIsCollectionItem ()
799799 {
800800 $ isCollectionItem = false ;
801801 $ moves = 0 ;
You can’t perform that action at this time.
0 commit comments