Skip to content

Commit cdd18e9

Browse files
committed
fixed indentation
Signed-off-by: bota <Bota@dotkernel.com>
1 parent 10979dc commit cdd18e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Core/src/App/src/Service/IpService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static function getUserIp(array $server): mixed
2828
// check if HTTP_X_FORWARDED_FOR is public network IP
2929
if (isset($server['HTTP_X_FORWARDED_FOR']) && self::isPublicIp($server['HTTP_X_FORWARDED_FOR'])) {
3030
$realIp = $server['HTTP_X_FORWARDED_FOR'];
31-
// check if HTTP_CLIENT_IP is public network IP
31+
// check if HTTP_CLIENT_IP is public network IP
3232
} elseif (isset($server['HTTP_CLIENT_IP']) && self::isPublicIp($server['HTTP_CLIENT_IP'])) {
3333
$realIp = $server['HTTP_CLIENT_IP'];
3434
} else {
@@ -38,7 +38,7 @@ public static function getUserIp(array $server): mixed
3838
// check if HTTP_X_FORWARDED_FOR is public network IP
3939
if (getenv('HTTP_X_FORWARDED_FOR') && self::isPublicIp((string) getenv('HTTP_X_FORWARDED_FOR'))) {
4040
$realIp = getenv('HTTP_X_FORWARDED_FOR');
41-
// check if HTTP_CLIENT_IP is public network IP
41+
// check if HTTP_CLIENT_IP is public network IP
4242
} elseif (getenv('HTTP_CLIENT_IP') && self::isPublicIp((string) getenv('HTTP_CLIENT_IP'))) {
4343
$realIp = getenv('HTTP_CLIENT_IP');
4444
} else {

0 commit comments

Comments
 (0)