aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Db/VersionEntity.php
diff options
context:
space:
mode:
authorEduardo Morales <emoral435@gmail.com>2024-03-11 08:11:53 -0500
committerEduardo Morales <emoral435@gmail.com>2024-03-11 15:57:12 -0500
commita8844d408b2b48ecfac40d33d1582e24bf5b48a4 (patch)
treecb5ec1bbc3df6247d446078843b15797ff202285 /apps/files_versions/lib/Db/VersionEntity.php
parent4cf4fdc2785d2ed634e0e23697847f9e58fa99d5 (diff)
downloadnextcloud-server-a8844d408b2b48ecfac40d33d1582e24bf5b48a4.tar.gz
nextcloud-server-a8844d408b2b48ecfac40d33d1582e24bf5b48a4.zip
fix(files_version): deprecated INameableVersion
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Diffstat (limited to 'apps/files_versions/lib/Db/VersionEntity.php')
-rw-r--r--apps/files_versions/lib/Db/VersionEntity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/lib/Db/VersionEntity.php b/apps/files_versions/lib/Db/VersionEntity.php
index 1e1eca86886..4be57f8b097 100644
--- a/apps/files_versions/lib/Db/VersionEntity.php
+++ b/apps/files_versions/lib/Db/VersionEntity.php
@@ -84,8 +84,8 @@ class VersionEntity extends Entity implements JsonSerializable {
* if nothing is found, we return an empty string
* @param string $key key associated with the value
*/
- public function getMetadataValue(string $key): string {
- return $this->metadata[$key] ?? '';
+ public function getMetadataValue(string $key): ?string {
+ return $this->metadata[$key] ?? null;
}
/**