diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-10-17 12:38:49 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-10-17 12:39:22 +0200 |
commit | 0a2a4d86870f9738544c67cc494c3f48a8f4e924 (patch) | |
tree | 8f04d2c08abf656bf1204e6f4682986f6af1d44c | |
parent | 60313683e2cf9ccd523700b4dd848a6c2c8df03f (diff) | |
download | nextcloud-server-0a2a4d86870f9738544c67cc494c3f48a8f4e924.tar.gz nextcloud-server-0a2a4d86870f9738544c67cc494c3f48a8f4e924.zip |
Fix incorrect argument name in inherited method
The arguments now need to be the same as in the parent method
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r-- | apps/files_sharing/lib/External/Cache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/External/Cache.php b/apps/files_sharing/lib/External/Cache.php index f8d9a2548a8..f353022d067 100644 --- a/apps/files_sharing/lib/External/Cache.php +++ b/apps/files_sharing/lib/External/Cache.php @@ -58,8 +58,8 @@ class Cache extends \OC\Files\Cache\Cache { return $result; } - public function getFolderContentsById($id) { - $results = parent::getFolderContentsById($id); + public function getFolderContentsById($fileId) { + $results = parent::getFolderContentsById($fileId); foreach ($results as &$file) { $file['displayname_owner'] = $this->cloudId->getDisplayId(); } |