diff options
Diffstat (limited to 'lib/private/Cache/File.php')
-rw-r--r-- | lib/private/Cache/File.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php index 10152d0966b..4e082f4e4d7 100644 --- a/lib/private/Cache/File.php +++ b/lib/private/Cache/File.php @@ -43,11 +43,6 @@ class File implements ICache { } } - /** - * @param string $key - * @return mixed|null - * @throws \OC\ForbiddenException - */ public function get($key) { $result = null; if ($this->hasKey($key)) { @@ -72,13 +67,6 @@ class File implements ICache { return $result; } - /** - * @param string $key - * @param mixed $value - * @param int $ttl - * @return bool|mixed - * @throws \OC\ForbiddenException - */ public function set($key, $value, $ttl = 0) { $storage = $this->getStorage(); $result = false; @@ -101,11 +89,6 @@ class File implements ICache { return $result; } - /** - * @param string $key - * @return bool - * @throws \OC\ForbiddenException - */ public function hasKey($key) { $storage = $this->getStorage(); if ($storage && $storage->is_file($key) && $storage->isReadable($key)) { @@ -114,11 +97,6 @@ class File implements ICache { return false; } - /** - * @param string $key - * @return bool|mixed - * @throws \OC\ForbiddenException - */ public function remove($key) { $storage = $this->getStorage(); if (!$storage) { @@ -127,11 +105,6 @@ class File implements ICache { return $storage->unlink($key); } - /** - * @param string $prefix - * @return bool - * @throws \OC\ForbiddenException - */ public function clear($prefix = '') { $storage = $this->getStorage(); if ($storage and $storage->is_dir('/')) { |