summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-02-10 01:14:00 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-02-10 01:14:00 +0100
commit1bb6de7c1b7d25c67bafaa3d6a37d0e0cec0b169 (patch)
tree360da574039aa66cf91c6731a6b80e1da7afffc3 /lib/private/files/storage
parent4a99849c6c444a656c17b0e1f82dead6fb60cc5c (diff)
parent2b99fc76eced32c740a9f87d48354e0ffdc57f45 (diff)
downloadnextcloud-server-1bb6de7c1b7d25c67bafaa3d6a37d0e0cec0b169.tar.gz
nextcloud-server-1bb6de7c1b7d25c67bafaa3d6a37d0e0cec0b169.zip
Merge pull request #13425 from owncloud/phpdoc_cleanup
Cleanup of PHPDoc return types
Diffstat (limited to 'lib/private/files/storage')
-rw-r--r--lib/private/files/storage/common.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php
index b2bf41f751c..9c233e447a6 100644
--- a/lib/private/files/storage/common.php
+++ b/lib/private/files/storage/common.php
@@ -343,7 +343,7 @@ abstract class Common implements \OC\Files\Storage\Storage {
* get the owner of a path
*
* @param string $path The path to get the owner
- * @return string uid or false
+ * @return string|false uid or false
*/
public function getOwner($path) {
return \OC_User::getUser();
@@ -353,7 +353,7 @@ abstract class Common implements \OC\Files\Storage\Storage {
* get the ETag for a file or folder
*
* @param string $path
- * @return string
+ * @return string|false
*/
public function getETag($path) {
$ETagFunction = \OC_Connector_Sabre_Node::$ETagFunction;
@@ -400,7 +400,7 @@ abstract class Common implements \OC\Files\Storage\Storage {
* get the free space in the storage
*
* @param string $path
- * @return int
+ * @return int|false
*/
public function free_space($path) {
return \OCP\Files\FileInfo::SPACE_UNKNOWN;
@@ -445,7 +445,7 @@ abstract class Common implements \OC\Files\Storage\Storage {
* For now the returned array can hold the parameter url - in future more attributes might follow.
*
* @param string $path
- * @return array
+ * @return array|false
*/
public function getDirectDownload($path) {
return [];