summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
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
*/