Skip to content

Commit a1385d6

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [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 [Mailer] Fix SES API call with UTF-8 Addresses
2 parents 505f470 + d23115e commit a1385d6

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)