Add void return to method in tests. (#20602)

This commit is contained in:
Wilmer Arambula
2025-10-14 06:37:35 -03:00
committed by GitHub
parent 30824c5dcf
commit d71f7309ae
249 changed files with 2749 additions and 2538 deletions

View File

@@ -40,7 +40,7 @@ class MemCacheTest extends CacheTestCase
return $this->_cacheInstance;
}
public function testExpire()
public function testExpire(): void
{
if (getenv('GITHUB_ACTIONS') == 'true') {
$this->markTestSkipped('Can not reliably test memcache expiry on GitHub actions.');
@@ -48,7 +48,7 @@ class MemCacheTest extends CacheTestCase
parent::testExpire();
}
public function testExpireAdd()
public function testExpireAdd(): void
{
if (getenv('GITHUB_ACTIONS') == 'true') {
$this->markTestSkipped('Can not reliably test memcache expiry on GitHub actions.');