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 0537422 commit 0f98556Copy full SHA for 0f98556
src/IsBackedEnum.php
@@ -65,7 +65,7 @@ public static function labelFor(self $value): string
65
return app('translator')->has($lang_key) ? __($lang_key) : $value->value;
66
}
67
68
- public static function rule(): Rules\Enum
+ public static function rule(): EnumValidationRule
69
{
70
static::ensureImplementsInterface();
71
return new EnumValidationRule(static::class);
0 commit comments