diff --git a/tests/stub.phpstub b/tests/stub.phpstub index e0b300368..7f68ac3eb 100644 --- a/tests/stub.phpstub +++ b/tests/stub.phpstub @@ -750,9 +750,15 @@ namespace OC\Files\Cache { namespace OC\Files\Cache\Wrapper { use OC\Files\Cache\Cache; + use OCP\Files\Cache\ICache; + class CacheWrapper extends Cache { public function getCache(): Cache {} } + + class CacheJail extends CacheWrapper { + public function __construct(?ICache $cache, string $root, ?CacheDependencies $dependencies = null) {} + } } namespace OC\Files {