1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00

Style fix

This commit is contained in:
Aaron Piotrowski 2023-01-11 18:13:48 -06:00
parent ce71845dd1
commit 12884f8d9c
No known key found for this signature in database
GPG Key ID: 5B456E6AABA44A63

View File

@ -179,7 +179,7 @@ final class Rfc1035StubDnsResolver implements DnsResolver
$errors[] = $reason->getMessage(); $errors[] = $reason->getMessage();
} }
\assert(count($exceptions) > 0); // For Psalm, CompositeException requires non-empty-array. \assert(\count($exceptions) > 0); // For Psalm, CompositeException requires non-empty-array.
throw new DnsException( throw new DnsException(
"All query attempts failed for {$searchName}: " . \implode(", ", $errors), "All query attempts failed for {$searchName}: " . \implode(", ", $errors),