We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc5be1 commit 3251249Copy full SHA for 3251249
src/Rules/IpVN.php
@@ -78,7 +78,7 @@ protected function validateIpInRange(IpInterface $ip, array $ranges)
78
79
protected static function getIpV4Range(): array
80
{
81
- static $range = null;
+ static $range = [];
82
83
if ($range === null) {
84
$range = require(__DIR__ . '/../../resource/ip-v4-range.php');
@@ -89,7 +89,7 @@ protected static function getIpV4Range(): array
89
90
protected static function getIpV6Range(): array
91
92
93
94
95
$range = require(__DIR__ . '/../../resource/ip-v6-range.php');
0 commit comments