diff --git a/src/Core/Cache/AbstractCacheDriver.php b/src/Core/Cache/AbstractCacheDriver.php index 6974dff1bd..ac33467b96 100644 --- a/src/Core/Cache/AbstractCacheDriver.php +++ b/src/Core/Cache/AbstractCacheDriver.php @@ -11,7 +11,7 @@ use Friendica\BaseObject; * * @package Friendica\Core\Cache */ -abstract class AbstractCacheDriver extends BaseObject implements IMemoryCacheDriver +abstract class AbstractCacheDriver extends BaseObject { /** * @param string $key The original key diff --git a/src/Core/Cache/ArrayCache.php b/src/Core/Cache/ArrayCache.php index 714021c723..ec9f3a2577 100644 --- a/src/Core/Cache/ArrayCache.php +++ b/src/Core/Cache/ArrayCache.php @@ -12,7 +12,7 @@ use Friendica\Core\Cache; * * @package Friendica\Core\Cache */ -class ArrayCache extends AbstractCacheDriver +class ArrayCache extends AbstractCacheDriver implements IMemoryCacheDriver { use TraitCompareDelete; diff --git a/src/Core/Cache/DatabaseCacheDriver.php b/src/Core/Cache/DatabaseCacheDriver.php index 0838a66c7a..5c71fb1962 100644 --- a/src/Core/Cache/DatabaseCacheDriver.php +++ b/src/Core/Cache/DatabaseCacheDriver.php @@ -12,7 +12,7 @@ use Friendica\Util\DateTimeFormat; * * @author Hypolite Petovan */ -class DatabaseCacheDriver implements ICacheDriver +class DatabaseCacheDriver extends AbstractCacheDriver implements ICacheDriver { public function get($key) { diff --git a/src/Core/Cache/MemcacheCacheDriver.php b/src/Core/Cache/MemcacheCacheDriver.php index 9c16d55312..af7e5ab0e2 100644 --- a/src/Core/Cache/MemcacheCacheDriver.php +++ b/src/Core/Cache/MemcacheCacheDriver.php @@ -9,7 +9,7 @@ use Friendica\Core\Cache; * * @author Hypolite Petovan */ -class MemcacheCacheDriver extends AbstractCacheDriver +class MemcacheCacheDriver extends AbstractCacheDriver implements IMemoryCacheDriver { use TraitCompareSet; use TraitCompareDelete; diff --git a/src/Core/Cache/MemcachedCacheDriver.php b/src/Core/Cache/MemcachedCacheDriver.php index 52b6a08cf1..819cf71c5c 100644 --- a/src/Core/Cache/MemcachedCacheDriver.php +++ b/src/Core/Cache/MemcachedCacheDriver.php @@ -9,7 +9,7 @@ use Friendica\Core\Cache; * * @author Hypolite Petovan */ -class MemcachedCacheDriver extends AbstractCacheDriver +class MemcachedCacheDriver extends AbstractCacheDriver implements IMemoryCacheDriver { use TraitCompareSet; use TraitCompareDelete; diff --git a/src/Core/Cache/RedisCacheDriver.php b/src/Core/Cache/RedisCacheDriver.php index 8f85e67d78..67df8e8fee 100644 --- a/src/Core/Cache/RedisCacheDriver.php +++ b/src/Core/Cache/RedisCacheDriver.php @@ -10,7 +10,7 @@ use Friendica\Core\Cache; * @author Hypolite Petovan * @author Roland Haeder */ -class RedisCacheDriver extends AbstractCacheDriver +class RedisCacheDriver extends AbstractCacheDriver implements IMemoryCacheDriver { /** * @var \Redis