diff --git a/apps/files/lib/helper.php b/apps/files/lib/helper.php
index 4a8af59475b565e3a9b12d3cb655c5e0f9804e75..84b1a0f1662577b0f21f0a5c043346591b86f3c2 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;