Skip to content

Commit 1618f1a

Browse files
committed
output buffering handlers return string
1 parent 262f16b commit 1618f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridges/ApplicationLatte/SnippetRuntime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function enter(string $name, string $type): void
5656
($this->nestingLevel === 0 && $this->control->isControlInvalid($name))
5757
|| ($type === self::TypeDynamic && ($previous = end($this->stack)) && $previous[1] === true)
5858
) {
59-
ob_start(fn() => null);
59+
ob_start(fn() => '');
6060
$this->nestingLevel = $type === self::TypeArea ? 0 : 1;
6161
$obStarted = true;
6262
} elseif ($this->nestingLevel > 0) {

0 commit comments

Comments
 (0)