diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-31 20:19:00 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-10-31 20:19:14 +0100 |
commit | 5a00870a2b4710c37134867d9515985ac1c88611 (patch) | |
tree | b94543a02c76b339c8d1c3c2fb92d16049b89b15 /lib/private/Share20/DefaultShareProvider.php | |
parent | 3692769b0a0713fa9e3976692736da76707986c5 (diff) | |
download | nextcloud-server-5a00870a2b4710c37134867d9515985ac1c88611.tar.gz nextcloud-server-5a00870a2b4710c37134867d9515985ac1c88611.zip |
Stricter signature
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Share20/DefaultShareProvider.php')
-rw-r--r-- | lib/private/Share20/DefaultShareProvider.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php index 2002e3bf8cb..60859c485c7 100644 --- a/lib/private/Share20/DefaultShareProvider.php +++ b/lib/private/Share20/DefaultShareProvider.php @@ -24,6 +24,7 @@ namespace OC\Share20; use OCP\Files\File; +use OCP\Files\Folder; use OCP\Share\IShareProvider; use OC\Share20\Exception\InvalidShare; use OC\Share20\Exception\ProviderException; @@ -454,7 +455,7 @@ class DefaultShareProvider implements IShareProvider { return $share; } - public function getSharesInFolder($userId, $node, $reshares) { + public function getSharesInFolder($userId, Folder $node, $reshares) { $qb = $this->dbConn->getQueryBuilder(); $qb->select('*') ->from('share', 's') |