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)
448448 }
449449
450450 // 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 ()) {
452452 continue ;
453453 }
454454
@@ -826,11 +826,11 @@ private function isCurrentLineCollectionItem()
826826 }
827827
828828 /**
829- * Tests whether or not the current comment line is in a collection.
829+ * Tests whether the current comment line is in a collection.
830830 *
831831 * @return bool
832832 */
833- private function isPreviousNonCommentLineIsCollectionItem ()
833+ private function checkIfPreviousNonCommentLineIsCollectionItem ()
834834 {
835835 $ isCollectionItem = false ;
836836 $ moves = 0 ;
You can’t perform that action at this time.
0 commit comments