Skip to content

Commit a816586

Browse files
committed
fix
1 parent bf5d20b commit a816586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parsem/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ protected static function getDefaultValue(string $defaultMatch): mixed
572572
{
573573
$default = ltrim($defaultMatch, '=') ?? null;
574574

575-
if ($default === null) {
575+
if ($default === null || $default === '') {
576576
return static::LITERALLY_NULL;
577577
}
578578

0 commit comments

Comments
 (0)