Fix PHP doc and enforce type
This commit is contained in:
parent
ba8c050d2b
commit
4766dac6f4
|
@ -181,10 +181,10 @@ class Helper
|
||||||
/**
|
/**
|
||||||
* Populate the result set with file tags
|
* Populate the result set with file tags
|
||||||
*
|
*
|
||||||
* @param array file list
|
* @param array $fileList
|
||||||
* @return file list populated with tags
|
* @return array file list populated with tags
|
||||||
*/
|
*/
|
||||||
public static function populateTags($fileList) {
|
public static function populateTags(array $fileList) {
|
||||||
$filesById = array();
|
$filesById = array();
|
||||||
foreach ($fileList as $fileData) {
|
foreach ($fileList as $fileData) {
|
||||||
$filesById[$fileData['fileid']] = $fileData;
|
$filesById[$fileData['fileid']] = $fileData;
|
||||||
|
|
Loading…
Reference in New Issue