diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-10 22:17:06 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-10 22:17:06 +0100 |
commit | b502667f3a5e6f08fb2fefbac56134d074859c09 (patch) | |
tree | 56dbda713859ee4f0b36bc2e746ad722e83cc1fa /apps | |
parent | a14649990242cae1cce2b1035666a5688420a2a4 (diff) | |
parent | e6712c47a6f6e4991e90b8bbb89eb71345f6df1b (diff) | |
download | nextcloud-server-b502667f3a5e6f08fb2fefbac56134d074859c09.tar.gz nextcloud-server-b502667f3a5e6f08fb2fefbac56134d074859c09.zip |
Merge pull request #23121 from owncloud/scrutinizer_share_fixes
Fix some scrutinizer warning in the sharing code
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/api/ocssharewrapper.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/api/share20ocs.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/api/ocssharewrapper.php b/apps/files_sharing/api/ocssharewrapper.php index 9f63e864cec..a51ad1eb2c9 100644 --- a/apps/files_sharing/api/ocssharewrapper.php +++ b/apps/files_sharing/api/ocssharewrapper.php @@ -36,7 +36,7 @@ class OCSShareWrapper { \OC::$server->getUserSession()->getUser()); } - public function getAllShares($params) { + public function getAllShares() { return $this->getShare20OCS()->getShares(); } diff --git a/apps/files_sharing/api/share20ocs.php b/apps/files_sharing/api/share20ocs.php index f31aa55e34d..5a2af48d6f5 100644 --- a/apps/files_sharing/api/share20ocs.php +++ b/apps/files_sharing/api/share20ocs.php @@ -50,7 +50,7 @@ class Share20OCS { private $request; /** @var IRootFolder */ private $rootFolder; - /** @var IUrlGenerator */ + /** @var IURLGenerator */ private $urlGenerator; /** @var IUser */ private $currentUser; |