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 <[email protected]>
  • Loading branch information
danxuliu authored and backportbot[bot] committed Aug 22, 2024
1 parent 5c80dbf commit 1e69312
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 @@ -671,9 +671,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 1e69312

Please sign in to comment.