diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2014-02-19 11:51:04 +0100 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-02-19 11:51:04 +0100 |
commit | bcad6e641a238cc3cfc202d587242b9c3bb45d8b (patch) | |
tree | ac797a0f84f6bd5e31974608c5d16113b8297f54 /apps/files_sharing | |
parent | 2d5ab1a5c4ff594994b8e1a50888bf0150aba431 (diff) | |
parent | f944707a15b4819f7a67263e26b41fe4abe942ab (diff) | |
download | nextcloud-server-bcad6e641a238cc3cfc202d587242b9c3bb45d8b.tar.gz nextcloud-server-bcad6e641a238cc3cfc202d587242b9c3bb45d8b.zip |
Merge pull request #7274 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/cache.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php index 7d63e7a4fe3..aadc54e4a7f 100644 --- a/apps/files_sharing/lib/cache.php +++ b/apps/files_sharing/lib/cache.php @@ -396,7 +396,7 @@ class Shared_Cache extends Cache { * use the one with the highest id gives the best result with the background scanner, since that is most * likely the folder where we stopped scanning previously * - * @return string|bool the path of the folder or false when no folder matched + * @return boolean the path of the folder or false when no folder matched */ public function getIncomplete() { return false; diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index ebd16f081ba..b922654e5ec 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -41,6 +41,7 @@ class Shared extends \OC\Files\Storage\Common { /** * @brief Get the source file path, permissions, and owner for a shared file * @param string Shared target file path + * @param string $target * @return Returns array with the keys path, permissions, and owner or false if not found */ public function getFile($target) { |