Skip to content

Commit d23115e

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [Finder] Fix gitignore regex build with "**" Fixed deprecation warnings about passing null as parameter [Security] Keep Bulgarian wording consistent across all texts. Migrate configuration file for PHP CS Fixer 2.19/3.0 [Form] Replace broken ServerParams mock
2 parents 76546cb + 8b6d1b9 commit d23115e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ private function getNextEmbedBlock(int $indentation = null, bool $inSequence = f
624624
$data = [];
625625

626626
if ($this->getCurrentLineIndentation() >= $newIndent) {
627-
$data[] = substr($this->currentLine, $newIndent);
627+
$data[] = substr($this->currentLine, $newIndent ?? 0);
628628
} elseif ($this->isCurrentLineEmpty() || $this->isCurrentLineComment()) {
629629
$data[] = $this->currentLine;
630630
} else {

0 commit comments

Comments
 (0)