aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Helper.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-06-07 23:30:59 +0200
committerGitHub <noreply@github.com>2021-06-07 23:30:59 +0200
commit2ae60b42ab87152d8b918aa289c974c42d267113 (patch)
tree71e87e066471b6e9e491470a60d666cce5771798 /apps/files/lib/Helper.php
parentae4907b6c95b7ac5d36ef358048c7acafd517c07 (diff)
parent7990f95558ac2b7fac3b9f77dcbdc3c74b05785b (diff)
downloadnextcloud-server-2ae60b42ab87152d8b918aa289c974c42d267113.tar.gz
nextcloud-server-2ae60b42ab87152d8b918aa289c974c42d267113.zip
Merge pull request #26494 from rigrig/fix-php8-deprecations
Fix some php 8 warnings
Diffstat (limited to 'apps/files/lib/Helper.php')
-rw-r--r--apps/files/lib/Helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Helper.php b/apps/files/lib/Helper.php
index 67e2fbe8321..18fea3aa2a1 100644
--- a/apps/files/lib/Helper.php
+++ b/apps/files/lib/Helper.php
@@ -216,7 +216,7 @@ class Helper {
* @param ITagManager $tagManager
* @return array file list populated with tags
*/
- public static function populateTags(array $fileList, $fileIdentifier = 'fileid', ITagManager $tagManager) {
+ public static function populateTags(array $fileList, $fileIdentifier, ITagManager $tagManager) {
$ids = [];
foreach ($fileList as $fileData) {
$ids[] = $fileData[$fileIdentifier];