Skip to content

Commit

Permalink
Updating function call to use default arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
snake14 committed Oct 16, 2024
1 parent 132e7a3 commit 5cb9299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlockedIpRanges/DigitalOcean.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function getRanges(): array
return [];
}

$digitalOcean = str_getcsv($digitalOcean['data'], ',', '"');
$digitalOcean = str_getcsv($digitalOcean['data']);

if (empty($digitalOcean)) {
throw new \Exception('Failed to parse digital ocean IP ranges');
Expand Down

0 comments on commit 5cb9299

Please sign in to comment.