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 6c873a5 commit ec8bd33Copy full SHA for ec8bd33
src/Actions/ResolveForPropertyValueAction.php
@@ -18,14 +18,14 @@ public static function execute(mixed $value): mixed
18
/**
19
* Give a fallback value if value not a backed enum
20
*/
21
- if ($instance->isValueAreEnum($value)) {
+ if ($instance->isValueAnEnum($value)) {
22
return $value->value ?? $value->name;
23
}
24
25
return $value;
26
27
28
- protected function isValueAreEnum($value): bool
+ protected function isValueAnEnum($value): bool
29
{
30
if (! function_exists('enum_exists')){
31
return false;
0 commit comments