Skip to content

Commit 3251249

Browse files
Change default static ip ranges
1 parent ccc5be1 commit 3251249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rules/IpVN.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function validateIpInRange(IpInterface $ip, array $ranges)
7878

7979
protected static function getIpV4Range(): array
8080
{
81-
static $range = null;
81+
static $range = [];
8282

8383
if ($range === null) {
8484
$range = require(__DIR__ . '/../../resource/ip-v4-range.php');
@@ -89,7 +89,7 @@ protected static function getIpV4Range(): array
8989

9090
protected static function getIpV6Range(): array
9191
{
92-
static $range = null;
92+
static $range = [];
9393

9494
if ($range === null) {
9595
$range = require(__DIR__ . '/../../resource/ip-v6-range.php');

0 commit comments

Comments
 (0)