chore: code format

This commit is contained in:
Maël Gangloff
2025-09-10 21:39:17 +02:00
parent 28fb5f2fc3
commit 10e573e483
5 changed files with 15 additions and 15 deletions

View File

@@ -121,7 +121,9 @@ class Tld
public function setTld(string $tld): static
{
$this->tld = RDAPService::convertToIdn($tld);
if($this->tld === '') $this->tld = '.';
if ('' === $this->tld) {
$this->tld = '.';
}
return $this;
}