You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while the previous code is correct, and the new code is simply a wrapper for the old code, every other example on this page uses the static method call to `Illuminate\Validation\Rule`, so we'll do this for consistency.
Copy file name to clipboardExpand all lines: validation.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1234,10 +1234,10 @@ The field under validation must end with one of the given values.
1234
1234
The `Enum` rule is a class based rule that validates whether the field under validation contains a valid enum value. The `Enum` rule accepts the name of the enum as its only constructor argument:
0 commit comments