Skip to content

Commit

Permalink
fix: remove superflous line
Browse files Browse the repository at this point in the history
Signed-off-by: georglauterbach <[email protected]>
  • Loading branch information
georglauterbach authored and backportbot[bot] committed Nov 14, 2024
1 parent c97cb96 commit 5915d7f
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 5915d7f

Please sign in to comment.