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.
enum_exists()
1 parent 7b1aed8 commit 8a8584cCopy full SHA for 8a8584c
src/Actions/ResolveForPropertyValueAction.php
@@ -34,6 +34,6 @@ protected function isValueAnEnum($value): bool
34
35
$enumNamespace = is_object($value) ? get_class($value) : $value;
36
37
- return ! is_array($value) && enum_exists($enumNamespace);
+ return ! is_array($value) && enum_exists((string) $enumNamespace);
38
}
39
0 commit comments