aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-03-10 21:35:22 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-03-10 21:35:22 +0100
commite6712c47a6f6e4991e90b8bbb89eb71345f6df1b (patch)
tree10f2fa42ce59b2ccb613c672d3a4b7f4be1b37d1 /apps
parent7f16aaefc8ea52ce258742f02b0bbe70753eecb9 (diff)
downloadnextcloud-server-e6712c47a6f6e4991e90b8bbb89eb71345f6df1b.tar.gz
nextcloud-server-e6712c47a6f6e4991e90b8bbb89eb71345f6df1b.zip
Fix some scrutinizer warning in the sharing code
* Better phpdoc * Promper use statements * Unused parameter
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/api/ocssharewrapper.php2
-rw-r--r--apps/files_sharing/api/share20ocs.php2
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 0c9e5473d9c..d5928b50ba7 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;