aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/FilesMetadata
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/FilesMetadata')
-rw-r--r--lib/public/FilesMetadata/IFilesMetadataManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/FilesMetadata/IFilesMetadataManager.php b/lib/public/FilesMetadata/IFilesMetadataManager.php
index ebebf3e806b..78ea020e967 100644
--- a/lib/public/FilesMetadata/IFilesMetadataManager.php
+++ b/lib/public/FilesMetadata/IFilesMetadataManager.php
@@ -105,7 +105,7 @@ interface IFilesMetadataManager {
* @param string $fileTableAlias alias of the table that contains data about files
* @param string $fileIdField alias of the field that contains file ids
*
- * @return IMetadataQuery
+ * @return IMetadataQuery|null NULL if table are not set yet or never used
* @see IMetadataQuery
* @since 28.0.0
*/
@@ -113,7 +113,7 @@ interface IFilesMetadataManager {
IQueryBuilder $qb,
string $fileTableAlias,
string $fileIdField
- ): IMetadataQuery;
+ ): ?IMetadataQuery;
/**
* returns all type of metadata currently available.