fix: add sharding compatible version of share reminder job #49002
Annotations
3 errors
Psalm:
apps/files_sharing/lib/SharesReminderJob.php#L186
apps/files_sharing/lib/SharesReminderJob.php:186:13: InvalidReturnType: The declared return type 'array<array-key, array{id: int, share_type: int}>' for OCA\Files_Sharing\SharesReminderJob::filterSharesWithEmptyFolders is incorrect, got 'list<array{file_source: int, id: int, share_type: int}>' (see https://psalm.dev/011)
|
Psalm:
apps/files_sharing/lib/SharesReminderJob.php#L209
apps/files_sharing/lib/SharesReminderJob.php:209:10: InvalidReturnStatement: The inferred type 'list<array{file_source: int, id: int, share_type: int}>' does not match the declared return type 'array<array-key, array{id: int, share_type: int}>' for OCA\Files_Sharing\SharesReminderJob::filterSharesWithEmptyFolders (see https://psalm.dev/128)
|
Psalm
Process completed with exit code 2.
|
Loading