aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/RemoteHostValidatorIntegrationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/RemoteHostValidatorIntegrationTest.php')
-rw-r--r--tests/lib/Security/RemoteHostValidatorIntegrationTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Security/RemoteHostValidatorIntegrationTest.php b/tests/lib/Security/RemoteHostValidatorIntegrationTest.php
index 6cddb8b4ce9..3d319e828ff 100644
--- a/tests/lib/Security/RemoteHostValidatorIntegrationTest.php
+++ b/tests/lib/Security/RemoteHostValidatorIntegrationTest.php
@@ -37,7 +37,7 @@ class RemoteHostValidatorIntegrationTest extends TestCase {
);
}
- public function localHostsData(): array {
+ public static function localHostsData(): array {
return [
['[::1]'],
['[::]'],
@@ -101,7 +101,7 @@ class RemoteHostValidatorIntegrationTest extends TestCase {
self::assertTrue($isValid);
}
- public function externalAddressesData():array {
+ public static function externalAddressesData():array {
return [
['8.8.8.8'],
['8.8.4.4'],