From f5220d87b3482914c11a1b8884fab0ed74f48107 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 7 Aug 2024 11:01:42 +0200 Subject: [PATCH] fixup! fix(autoconfig): Refactor DNS query for testing Signed-off-by: Christoph Wurst --- lib/Service/AutoConfig/IspDb.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Service/AutoConfig/IspDb.php b/lib/Service/AutoConfig/IspDb.php index c2d33dd702..d7607748b9 100644 --- a/lib/Service/AutoConfig/IspDb.php +++ b/lib/Service/AutoConfig/IspDb.php @@ -26,6 +26,7 @@ namespace OCA\Mail\Service\AutoConfig; use Exception; +use OCA\Mail\Dns\Resolver; use OCP\Http\Client\IClient; use OCP\Http\Client\IClientService; use Psr\Log\LoggerInterface; @@ -40,7 +41,9 @@ class IspDb { /** @var LoggerInterface */ private $logger; - private Resolver $dnsResolver; + + /** @var Resolver */ + private $dnsResolver; /** @returns string[] */ public function getUrls(): array {