From 099581e99f557e9f16b43c5916c26380b54abb22 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Fri, 18 Oct 2024 16:04:52 +0200 Subject: [PATCH] Remove always true/false occurrences --- Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser.php b/Parser.php index 1fade4ac..f82f2b57 100644 --- a/Parser.php +++ b/Parser.php @@ -874,7 +874,7 @@ private function parseBlockScalar(string $style, string $chomping = '', int $ind if ($notEOF) { $blockLines[] = ''; $this->moveToPreviousLine(); - } elseif (!$notEOF && !$this->isCurrentLineLastLineInDocument()) { + } elseif (!$this->isCurrentLineLastLineInDocument()) { $blockLines[] = ''; }