Skip to content

Commit b1ba058

Browse files
[Validator] Update the "no TLD" error message
1 parent 39a5fdc commit b1ba058

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Validator/Constraints

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/Url.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Url extends Constraint
3131
];
3232

3333
public string $message = 'This value is not a valid URL.';
34-
public string $tldMessage = 'This URL does not contain a TLD.';
34+
public string $tldMessage = 'This URL is missing a top-level domain.';
3535
public array $protocols = ['http', 'https'];
3636
public bool $relativeProtocol = false;
3737
public bool $requireTld = false;

0 commit comments

Comments
 (0)