Skip to content

Commit

Permalink
chore: Add CacheJail to the stubs
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
  • Loading branch information
danxuliu authored and backportbot[bot] committed Aug 22, 2024
1 parent 2f047f5 commit 60d341b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/stub.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 60d341b

Please sign in to comment.