From 4766dac6f4df220b03067a1535bdbfae1ebf23f3 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 13 Jan 2015 14:47:54 +0100 Subject: [PATCH] Fix PHP doc and enforce type --- apps/files/lib/helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/files/lib/helper.php b/apps/files/lib/helper.php index 4a8af59475..84b1a0f166 100644 --- a/apps/files/lib/helper.php +++ b/apps/files/lib/helper.php @@ -181,10 +181,10 @@ class Helper /** * Populate the result set with file tags * - * @param array file list - * @return file list populated with tags + * @param array $fileList + * @return array file list populated with tags */ - public static function populateTags($fileList) { + public static function populateTags(array $fileList) { $filesById = array(); foreach ($fileList as $fileData) { $filesById[$fileData['fileid']] = $fileData;