Merge pull request #13318 from owncloud/fix-annotation

Fix PHP doc and enforce type
This commit is contained in:
Morris Jobke 2015-01-13 15:24:34 +01:00
commit 55672280e0
1 changed files with 3 additions and 3 deletions

View File

@ -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;