Skip to content

Commit 22d8c27

Browse files
Laravel: Fixed validation message
1 parent 97255c4 commit 22d8c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Laravel/Validation/Rules/CardNumberRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function throwType(Closure $fail): void
5252

5353
protected function throwCard(Closure $fail): void
5454
{
55-
$fail('The :attribute must be a valid card number.')->translate();
55+
$fail('The :attribute field must be a valid card number.')->translate();
5656
}
5757

5858
protected function isInvalidType(bool|CardType|null $type): bool

0 commit comments

Comments
 (0)