summaryrefslogtreecommitdiffstats
path: root/lib/private/files/cache
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2015-01-16 18:31:15 +0000
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2015-01-16 20:30:43 +0000
commit2b99fc76eced32c740a9f87d48354e0ffdc57f45 (patch)
tree91d1b951b175222a61d28b29d29c75031efe0b27 /lib/private/files/cache
parent3465604cf9ed20b169da9c1a8bbd31a9afcf9183 (diff)
downloadnextcloud-server-2b99fc76eced32c740a9f87d48354e0ffdc57f45.tar.gz
nextcloud-server-2b99fc76eced32c740a9f87d48354e0ffdc57f45.zip
Cleanup of PHPDoc return types
Diffstat (limited to 'lib/private/files/cache')
-rw-r--r--lib/private/files/cache/cache.php4
-rw-r--r--lib/private/files/cache/wrapper/cachejail.php2
-rw-r--r--lib/private/files/cache/wrapper/cachewrapper.php4
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/files/cache/cache.php b/lib/private/files/cache/cache.php
index 8d0681ba935..de973f2fd08 100644
--- a/lib/private/files/cache/cache.php
+++ b/lib/private/files/cache/cache.php
@@ -434,7 +434,7 @@ class Cache {
/**
* @param string $file
*
- * @return int, Cache::NOT_FOUND, Cache::PARTIAL, Cache::SHALLOW or Cache::COMPLETE
+ * @return int Cache::NOT_FOUND, Cache::PARTIAL, Cache::SHALLOW or Cache::COMPLETE
*/
public function getStatus($file) {
// normalize file
@@ -684,7 +684,7 @@ class Cache {
* instead does a global search in the cache table
*
* @param int $id
- * @return array, first element holding the storage id, second the path
+ * @return array first element holding the storage id, second the path
*/
static public function getById($id) {
$sql = 'SELECT `storage`, `path` FROM `*PREFIX*filecache` WHERE `fileid` = ?';
diff --git a/lib/private/files/cache/wrapper/cachejail.php b/lib/private/files/cache/wrapper/cachejail.php
index 3f7ea66ea1b..bb065643cf7 100644
--- a/lib/private/files/cache/wrapper/cachejail.php
+++ b/lib/private/files/cache/wrapper/cachejail.php
@@ -163,7 +163,7 @@ class CacheJail extends CacheWrapper {
/**
* @param string $file
*
- * @return int, Cache::NOT_FOUND, Cache::PARTIAL, Cache::SHALLOW or Cache::COMPLETE
+ * @return int Cache::NOT_FOUND, Cache::PARTIAL, Cache::SHALLOW or Cache::COMPLETE
*/
public function getStatus($file) {
return $this->cache->getStatus($this->getSourcePath($file));
diff --git a/lib/private/files/cache/wrapper/cachewrapper.php b/lib/private/files/cache/wrapper/cachewrapper.php
index 83811520e4b..a5997edb307 100644
--- a/lib/private/files/cache/wrapper/cachewrapper.php
+++ b/lib/private/files/cache/wrapper/cachewrapper.php
@@ -152,7 +152,7 @@ class CacheWrapper extends Cache {
/**
* @param string $file
*
- * @return int, Cache::NOT_FOUND, Cache::PARTIAL, Cache::SHALLOW or Cache::COMPLETE
+ * @return int Cache::NOT_FOUND, Cache::PARTIAL, Cache::SHALLOW or Cache::COMPLETE
*/
public function getStatus($file) {
return $this->cache->getStatus($file);
@@ -260,7 +260,7 @@ class CacheWrapper extends Cache {
* instead does a global search in the cache table
*
* @param int $id
- * @return array, first element holding the storage id, second the path
+ * @return array first element holding the storage id, second the path
*/
static public function getById($id) {
return parent::getById($id);