diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-05-08 09:30:50 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-05-08 09:30:50 +0200 |
commit | 390549c286d974426299c197d5764d6b7fb56335 (patch) | |
tree | 4e6d800031b7d941e580c0a126026e05fec25c42 /apps/files_sharing/lib/cache.php | |
parent | 4da6645a943746b8f2b8a2671962e50452a8436d (diff) | |
parent | 9f88141bcd52517b676de7603499bbb606180438 (diff) | |
download | nextcloud-server-390549c286d974426299c197d5764d6b7fb56335.tar.gz nextcloud-server-390549c286d974426299c197d5764d6b7fb56335.zip |
Merge pull request #8221 from owncloud/type-hinting-sharing
Type hinting fixes for sharing
Diffstat (limited to 'apps/files_sharing/lib/cache.php')
-rw-r--r-- | apps/files_sharing/lib/cache.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/cache.php b/apps/files_sharing/lib/cache.php index 1f316301c47..f74315c85f9 100644 --- a/apps/files_sharing/lib/cache.php +++ b/apps/files_sharing/lib/cache.php @@ -442,6 +442,9 @@ class Shared_Cache extends Cache { } } + /** + * @param integer $id + */ private function getShareById($id) { $item = \OCP\Share::getItemSharedWithBySource('file', $id); if ($item) { @@ -454,6 +457,9 @@ class Shared_Cache extends Cache { return null; } + /** + * @param integer $id + */ private function getParentInfo($id) { $sql = 'SELECT `parent`, `name` FROM `*PREFIX*filecache` WHERE `fileid` = ?'; $query = \OC_DB::prepare($sql); |