aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Cache/File.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-06 09:44:04 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-09 11:09:37 +0200
commit007be83a968e6aee649ff8de173163cb5ef93a86 (patch)
tree18e03c4a5562989bbd6482e9e6a47f3619b71e30 /lib/private/Cache/File.php
parentfc10fa592626d154a91d77d35c93beabdc7605c1 (diff)
downloadnextcloud-server-fix/oc/inheritdoc.tar.gz
nextcloud-server-fix/oc/inheritdoc.zip
fix(OC): Remove doc blocks for OCP implementationsfix/oc/inheritdoc
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/Cache/File.php')
-rw-r--r--lib/private/Cache/File.php27
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('/')) {