@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | |
53 | 53 | $onPageIpAddress = $matches['ipaddress']; |
54 | 54 | if (array_key_exists('static', self::$ipAddress)) { |
55 | - $result = array_filter(self::$ipAddress['static'], function ($ipAddress) use ($onPageIpAddress) { |
|
55 | + $result = array_filter(self::$ipAddress['static'], function($ipAddress) use ($onPageIpAddress) { |
|
56 | 56 | return in_array($ipAddress, $onPageIpAddress); |
57 | 57 | }); |
58 | 58 | if (count($result) !== 0) { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | if (array_key_exists('regexp', self::$ipAddress)) { |
64 | - $result = array_filter(self::$ipAddress['regexp'], function ($ipAddress) use ($onPageIpAddress) { |
|
64 | + $result = array_filter(self::$ipAddress['regexp'], function($ipAddress) use ($onPageIpAddress) { |
|
65 | 65 | return preg_grep($ipAddress, $onPageIpAddress); |
66 | 66 | }); |
67 | 67 | if (count($result) !== 0) { |