summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-11-30 10:29:06 +0000
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-30 22:50:09 +0100
commitdcbd60351435c9a5ea8d23dff703d449489aa335 (patch)
tree7569cdcf079f984ebf6eb9c6ef96099667b931c7 /apps/files
parent802f226d8a2e0e8d9e381542e00d191de2475985 (diff)
downloadnextcloud-server-dcbd60351435c9a5ea8d23dff703d449489aa335.tar.gz
nextcloud-server-dcbd60351435c9a5ea8d23dff703d449489aa335.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/controller/apicontroller.php2
-rw-r--r--apps/files/lib/activity.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/controller/apicontroller.php b/apps/files/controller/apicontroller.php
index 1ecd5294c66..ed14b887479 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) {