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 c58f414 commit 9c87bf0Copy full SHA for 9c87bf0
src/PHPFUI/ORM/Enum.php
@@ -11,7 +11,7 @@ public function fromPHPValue(mixed $value, array $parameters) : mixed
11
{
12
$enum = $parameters[0];
13
14
- return $enum::from($value);
+ return $enum::from($value ?? 0);
15
}
16
17
/**
0 commit comments