Skip to content

Commit

Permalink
Fix undeclared variables
Browse files Browse the repository at this point in the history
  • Loading branch information
leth committed Mar 16, 2024
1 parent ffb96d7 commit 9ebc90a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/Leth/IPAddress/IP/NetworkAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public static function merge(array $network_addresses): array
usort($net_addrs, array(__CLASS__, 'compare'));

$last_added = NULL;
$a = $b = NULL;
for ($i = 0; $i < count($net_addrs) - 1; $i++) {
$a = $net_addrs[$i];
$b = $net_addrs[$i + 1];
Expand Down

0 comments on commit 9ebc90a

Please sign in to comment.