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 icewind1991 committed Aug 8, 2024
1 parent c3bb814 commit ecc780e
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 ecc780e

Please sign in to comment.