From 30e7c27d860bf67ff37778d00fb812aefa8fefa5 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 17 Nov 2016 11:48:29 +0100 Subject: reuse the known rootinfo in the shared cache when possible Signed-off-by: Robin Appelman --- lib/private/Files/Cache/Wrapper/CacheJail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/private/Files/Cache') diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index 1196c6b0760..0a379aefdc6 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -27,6 +27,7 @@ namespace OC\Files\Cache\Wrapper; use OC\Files\Cache\Cache; +use OCP\Files\Cache\ICacheEntry; /** * Jail to a subdirectory of the wrapped cache @@ -73,7 +74,7 @@ class CacheJail extends CacheWrapper { } /** - * @param array $entry + * @param ICacheEntry|array $entry * @return array */ protected function formatCacheEntry($entry) { -- cgit v1.2.3