Skip to content

Commit 0f98556

Browse files
authored
Update IsBackedEnum.php
1 parent 0537422 commit 0f98556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IsBackedEnum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static function labelFor(self $value): string
6565
return app('translator')->has($lang_key) ? __($lang_key) : $value->value;
6666
}
6767

68-
public static function rule(): Rules\Enum
68+
public static function rule(): EnumValidationRule
6969
{
7070
static::ensureImplementsInterface();
7171
return new EnumValidationRule(static::class);

0 commit comments

Comments
 (0)