fix(IMetadataVersion): Use correct return type for getMetadata

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2026-02-12 12:09:19 +01:00
parent e40d6b1c6b
commit 3693cbeaf9
No known key found for this signature in database
3 changed files with 3 additions and 1 deletions

View file

@ -16,7 +16,7 @@ interface IMetadataVersion {
/**
* retrieves the all the metadata
*
* @return string[]
* @return array<string, string>
* @since 29.0.0
*/
public function getMetadata(): array;

View file

@ -13,6 +13,7 @@ return (require __DIR__ . '/rector-shared.php')
$nextcloudDir . '/core/BackgroundJobs/ExpirePreviewsJob.php',
$nextcloudDir . '/lib/public/IContainer.php',
$nextcloudDir . '/apps/dav/lib/Connector/Sabre/Node.php',
$nextcloudDir . '/apps/files_versions/lib/Versions/IMetadataVersion.php',
])
->withPreparedSets(
deadCode: true,

View file

@ -19,6 +19,7 @@
<file name="core/BackgroundJobs/ExpirePreviewsJob.php"/>
<file name="lib/public/IContainer.php"/>
<file name="apps/dav/lib/Connector/Sabre/Node.php"/>
<file name="apps/files_versions/lib/Versions/IMetadataVersion.php"/>
<ignoreFiles>
<directory name="apps/**/composer"/>
<directory name="apps/**/tests"/>