Skip to content

Commit

Permalink
fixup! fix(autoconfig): Refactor DNS query for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Aug 7, 2024
1 parent 858a81e commit f5220d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Service/AutoConfig/IspDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -40,7 +41,9 @@ class IspDb {

/** @var LoggerInterface */
private $logger;
private Resolver $dnsResolver;

/** @var Resolver */
private $dnsResolver;

/** @returns string[] */
public function getUrls(): array {
Expand Down

0 comments on commit f5220d8

Please sign in to comment.