Skip to content

Commit

Permalink
Fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Jun 28, 2023
1 parent 54bd002 commit 000b15d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TrustedHostsNetworkResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -795,13 +795,13 @@ private function iterateConnectionChainItems(
break;
}

/** @psalm-var ConnectionChainItem $rawItem */

/** @infection-ignore-all GreaterThan */
if ($proxiesCount > 1 && $this->checkPrivateIp($ip)) {
break;
}

/** @psalm-var ConnectionChainItem $rawItem */

$item = $rawItem;

$isIpTrusted = $this->checkTrustedIp($ip);
Expand Down

0 comments on commit 000b15d

Please sign in to comment.