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 487d19a commit c559f62
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 @@ -99,7 +99,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 c559f62

Please sign in to comment.