mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: convertToIdn static function
This commit is contained in:
@@ -7,6 +7,7 @@ use ApiPlatform\Metadata\Get;
|
||||
use App\Config\EventAction;
|
||||
use App\Controller\DomainRefreshController;
|
||||
use App\Repository\DomainRepository;
|
||||
use App\Service\RDAPService;
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
@@ -152,7 +153,7 @@ class Domain
|
||||
|
||||
public function setLdhName(string $ldhName): static
|
||||
{
|
||||
$this->ldhName = strtolower($ldhName);
|
||||
$this->ldhName = RDAPService::convertToIdn($ldhName);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user