summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-01 09:26:22 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-01 09:26:22 +0100
commit634859e6ed31ecd4ebda0ad8cc4545d87e2052a4 (patch)
tree811a26ccd68bb76f7fe30a35f13fec487fa38b5d /apps/files
parent8a1e6c0ad98072803d4fe0b374fbfe1844fa139e (diff)
parentd6da0396d02693e35073cfd4ec990a85393a92e5 (diff)
downloadnextcloud-server-634859e6ed31ecd4ebda0ad8cc4545d87e2052a4.tar.gz
nextcloud-server-634859e6ed31ecd4ebda0ad8cc4545d87e2052a4.zip
Merge pull request #20825 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/controller/apicontroller.php2
-rw-r--r--apps/files/lib/activity.php4
-rw-r--r--apps/files/service/tagservice.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/controller/apicontroller.php b/apps/files/controller/apicontroller.php
index 1ecd5294c66..ee54db63191 100644
--- a/apps/files/controller/apicontroller.php
+++ b/apps/files/controller/apicontroller.php
@@ -127,7 +127,7 @@ class ApiController extends Controller {
*
* @NoAdminRequired
*
- * @param array|string $tagName tag name to filter by
+ * @param string $tagName tag name to filter by
* @return DataResponse
*/
public function getFilesByTag($tagName) {
diff --git a/apps/files/lib/activity.php b/apps/files/lib/activity.php
index 23e3f26e62d..a941572ed15 100644
--- a/apps/files/lib/activity.php
+++ b/apps/files/lib/activity.php
@@ -166,7 +166,7 @@ class Activity implements IExtension {
* @param string $text
* @param IL10N $l
* @param array $params
- * @return bool|string
+ * @return string|false
*/
protected function translateLong($text, IL10N $l, array $params) {
switch ($text) {
@@ -198,7 +198,7 @@ class Activity implements IExtension {
* @param string $text
* @param IL10N $l
* @param array $params
- * @return bool|string
+ * @return string|false
*/
protected function translateShort($text, IL10N $l, array $params) {
switch ($text) {
diff --git a/apps/files/service/tagservice.php b/apps/files/service/tagservice.php
index 1999d97e1af..cf3f2bb7865 100644
--- a/apps/files/service/tagservice.php
+++ b/apps/files/service/tagservice.php
@@ -91,7 +91,7 @@ class TagService {
/**
* Get all files for the given tag
*
- * @param array $tagName tag name to filter by
+ * @param string $tagName tag name to filter by
* @return FileInfo[] list of matching files
* @throws \Exception if the tag does not exist
*/