From 83451981d4627055b28ab64b1df98318fcb5c210 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 7 Aug 2024 07:44:33 +0200 Subject: [PATCH] fixup! fix(autoconfig): Refactor DNS query for testing Signed-off-by: Christoph Wurst --- lib/Dns/Resolver.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Dns/Resolver.php b/lib/Dns/Resolver.php index 8bca78b80f..6e702c94a2 100644 --- a/lib/Dns/Resolver.php +++ b/lib/Dns/Resolver.php @@ -15,7 +15,10 @@ class Resolver { - public function resolve(string $hostname, int $type): array|false { + /** + * @return array|false + */ + public function resolve(string $hostname, int $type) { return dns_get_record($hostname, $type); }