mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-16 03:28:56 +08:00
Add void return to method in tests. (#20602)
This commit is contained in:
@@ -48,7 +48,7 @@ class MemCachedTest extends CacheTestCase
|
||||
return $this->_cacheInstance;
|
||||
}
|
||||
|
||||
public function testExpire()
|
||||
public function testExpire(): void
|
||||
{
|
||||
if (getenv('GITHUB_ACTIONS') == 'true') {
|
||||
$this->markTestSkipped('Can not reliably test memcached expiry on GitHub actions.');
|
||||
@@ -56,7 +56,7 @@ class MemCachedTest extends CacheTestCase
|
||||
parent::testExpire();
|
||||
}
|
||||
|
||||
public function testExpireAdd()
|
||||
public function testExpireAdd(): void
|
||||
{
|
||||
if (getenv('GITHUB_ACTIONS') == 'true') {
|
||||
$this->markTestSkipped('Can not reliably test memcached expiry on GitHub actions.');
|
||||
|
||||
Reference in New Issue
Block a user