We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 485976e commit 8a2bd0aCopy full SHA for 8a2bd0a
packages/http/src/Helper/IpHelper.php
@@ -93,7 +93,7 @@ public static function checkIpv4(string $requestIp, string $ip): bool
93
sprintf('%032b', ip2long($requestIp)),
94
sprintf('%032b', ip2long($address)),
95
0,
96
- $netmask
+ (int) $netmask
97
);
98
}
99
0 commit comments