Skip to content

Commit

Permalink
fix: remove superflous line
Browse files Browse the repository at this point in the history
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
  • Loading branch information
georglauterbach committed Nov 9, 2024
1 parent 387cd8b commit 4d517a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/private/Http/Client/DnsPinMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ private function dnsResolve(string $target, int $recursionCount) : array {
$canHaveCnameRecord = false;
} elseif (isset($dnsResponse['target']) && $canHaveCnameRecord) {
$targetIps = array_merge($targetIps, $this->dnsResolve($dnsResponse['target'], $recursionCount));
$canHaveCnameRecord = true;
}
}
} elseif ($dnsNegativeTtl !== null) {
Expand Down

0 comments on commit 4d517a3

Please sign in to comment.