We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed20a0 commit 28dace2Copy full SHA for 28dace2
src/Modifiers/DefaultValue.php
@@ -28,6 +28,6 @@ public function settings(): array
28
29
public function handle($value = null, array $settings = []): string
30
{
31
- return empty($value) ? $settings['string'] : $value;
+ return $value === null ? $settings['string'] : $value;
32
}
33
0 commit comments