diff --git a/tests/stub.phpstub b/tests/stub.phpstub index 688833009..0813d22d3 100644 --- a/tests/stub.phpstub +++ b/tests/stub.phpstub @@ -622,9 +622,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 { @@ -1501,6 +1507,7 @@ namespace OC\Files\Storage\Wrapper{ class Jail extends Wrapper { + protected $rootPath; public function getUnjailedPath(string $path): string {} public function getUnjailedStorage(): IStorage {} }