chore: make psalm happy even though has defaults

Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
Josh 2025-11-04 13:48:45 -05:00 committed by GitHub
parent 172b99c450
commit 203309fefe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,7 +113,7 @@ class DnsPinMiddleware {
$ports[] = (string)$port;
}
$targetIps = $this->dnsResolve(idn_to_ascii($hostName), 0);
$targetIps = $this->dnsResolve(idn_to_ascii($hostName, IDNA_DEFAULT, INTL_IDNA_VARIANT_UTS46), 0);
if (empty($targetIps)) {
throw new LocalServerException('No DNS record found for ' . $hostName);