Skip to content

Commit

Permalink
Merge pull request #13318 from owncloud/fix-annotation
Browse files Browse the repository at this point in the history
Fix PHP doc and enforce type
  • Loading branch information
MorrisJobke committed Jan 13, 2015
2 parents 975f19f + 4766dac commit 5567228
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/files/lib/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ public static function getFiles($dir, $sortAttribute = 'name', $sortDescending =
/**
* 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;
Expand Down

0 comments on commit 5567228

Please sign in to comment.