From 60d341b0fa9a15a8bc019bf422c6621ca927070a 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 {