diff --git a/src/Rules/VatNumberExist.php b/src/Rules/VatNumberExist.php index 9ebbdb9..e22fb33 100755 --- a/src/Rules/VatNumberExist.php +++ b/src/Rules/VatNumberExist.php @@ -11,7 +11,7 @@ class VatNumberExist implements ValidationRule public function validate(string $attribute, mixed $value, Closure $fail): void { if (! VatValidator::validateExistence($value)) { - $fail(__('The :attribute must be write in a valid number format {country_name}{vat_number}.')); + $fail(__('VAT number :attribute not exist.')); } } } diff --git a/src/Rules/VatNumberFormat.php b/src/Rules/VatNumberFormat.php index 9c43e3f..221207e 100755 --- a/src/Rules/VatNumberFormat.php +++ b/src/Rules/VatNumberFormat.php @@ -10,7 +10,7 @@ class VatNumberFormat implements ValidationRule public function validate(string $attribute, mixed $value, \Closure $fail): void { if (! VatValidator::validateFormat($value)) { - $fail(__('VAT number :attribute not exist.')); + $fail(__('The :attribute must be write in a valid number format {country_name}{vat_number}.')); } } }