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 8160d97 commit 8345198
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Dns/Resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 8345198

Please sign in to comment.