diff --git a/src/Plugin/Validation/Constraint/TelephoneConstraint.php b/src/Plugin/Validation/Constraint/TelephoneConstraint.php index 88f8f34..5c1bf11 100644 --- a/src/Plugin/Validation/Constraint/TelephoneConstraint.php +++ b/src/Plugin/Validation/Constraint/TelephoneConstraint.php @@ -14,6 +14,6 @@ use Symfony\Component\Validator\Constraint; */ class TelephoneConstraint extends Constraint { - public $message = "@number is not a valid phone number."; + public $message = "@number incorrect phone number format. Appropriate format for Hungarian phone numbers is e.g. 06 70 123 4567, in the case of foreign phone numbers please use the country calling code e.g. +1 202 234 5678"; }