From f56662d55adede39c24f4c3c6b66477c9da1bc29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Sun, 23 Jun 2024 18:37:26 +0200 Subject: [PATCH] chore: Add CacheJail to the stubs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Calviño Sánchez --- tests/stub.phpstub | 6 ++++++ 1 file changed, 6 insertions(+) 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 {