mirror of
https://github.com/danog/dns.git
synced 2024-11-30 04:29:06 +01:00
Fix psalm issue
This commit is contained in:
parent
ab62cb8d92
commit
ab3a306db5
@ -559,7 +559,7 @@ final class Rfc1035StubDnsResolver implements DnsResolver
|
||||
return $nameservers;
|
||||
}
|
||||
|
||||
private function shouldRetry(int $code): bool
|
||||
private function shouldRetry(int|string $code): bool
|
||||
{
|
||||
return \in_array($code, [
|
||||
MessageResponseCodes::SERVER_FAILURE,
|
||||
|
Loading…
Reference in New Issue
Block a user