mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fix(IMetadataVersion): Use correct return type for getMetadata
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
e40d6b1c6b
commit
3693cbeaf9
3 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue