aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Memcache/FactoryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Memcache/FactoryTest.php')
-rw-r--r--tests/lib/Memcache/FactoryTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Memcache/FactoryTest.php b/tests/lib/Memcache/FactoryTest.php
index fa0d80c5153..cbf908e0cc6 100644
--- a/tests/lib/Memcache/FactoryTest.php
+++ b/tests/lib/Memcache/FactoryTest.php
@@ -56,7 +56,7 @@ class FactoryTest extends \Test\TestCase {
public const UNAVAILABLE1 = '\\Test\\Memcache\\Test_Factory_Unavailable_Cache1';
public const UNAVAILABLE2 = '\\Test\\Memcache\\Test_Factory_Unavailable_Cache2';
- public function cacheAvailabilityProvider() {
+ public static function cacheAvailabilityProvider(): array {
return [
[
// local and distributed available
@@ -86,7 +86,7 @@ class FactoryTest extends \Test\TestCase {
];
}
- public function cacheUnavailableProvider() {
+ public static function cacheUnavailableProvider(): array {
return [
[
// local available, distributed unavailable