mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: check malformed domain names
This commit is contained in:
@@ -6,6 +6,6 @@ class MalformedDomainException extends \Exception
|
||||
{
|
||||
public static function fromDomain(string $ldhName): self
|
||||
{
|
||||
return new self("Domain name ($ldhName) must contain at least one dot");
|
||||
return new self("Malformed domain name ($ldhName)");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user