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 b973b5065ea..fa0d80c5153 100644
--- a/tests/lib/Memcache/FactoryTest.php
+++ b/tests/lib/Memcache/FactoryTest.php
@@ -107,7 +107,7 @@ class FactoryTest extends \Test\TestCase {
* @dataProvider cacheAvailabilityProvider
*/
public function testCacheAvailability($localCache, $distributedCache, $lockingCache,
- $expectedLocalCache, $expectedDistributedCache, $expectedLockingCache) {
+ $expectedLocalCache, $expectedDistributedCache, $expectedLockingCache): void {
$logger = $this->getMockBuilder(LoggerInterface::class)->getMock();
$profiler = $this->getMockBuilder(IProfiler::class)->getMock();
$factory = new \OC\Memcache\Factory(fn () => 'abc', $logger, $profiler, $localCache, $distributedCache, $lockingCache);
@@ -119,7 +119,7 @@ class FactoryTest extends \Test\TestCase {
/**
* @dataProvider cacheUnavailableProvider
*/
- public function testCacheNotAvailableException($localCache, $distributedCache) {
+ public function testCacheNotAvailableException($localCache, $distributedCache): void {
$this->expectException(\OCP\HintException::class);
$logger = $this->getMockBuilder(LoggerInterface::class)->getMock();