fix: perform bulk message actions #5070
Annotations
5 errors
Run coding standards check:
lib/Controller/MessagesController.php#L909
lib/Controller/MessagesController.php:909:46: PossiblyNullArgument: Argument 1 of OCA\Mail\Contracts\IMailManager::getMessage cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L42
lib/Service/MessageOperationService.php:42:10: InvalidReturnStatement: The inferred type 'array<array-key, mixed|non-empty-list<array{id: mixed, uid: mixed}>>|mixed' does not match the declared return type 'array<int, array{id: int, uid: int}>' for OCA\Mail\Service\MessageOperationService::groupByMailbox (see https://psalm.dev/128)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L135
lib/Service/MessageOperationService.php:135:56: InvalidArgument: Argument 4 of OCA\Mail\Service\MessageOperationService::generateResult expects array<int, array<array-key, array{id: int, uid: int}>>, but array<int, array{id: int, uid: int}> provided (see https://psalm.dev/004)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L138
lib/Service/MessageOperationService.php:138:57: InvalidArgument: Argument 4 of OCA\Mail\Service\MessageOperationService::generateResult expects array<int, array<array-key, array{id: int, uid: int}>>, but array<int, array{id: int, uid: int}> provided (see https://psalm.dev/004)
|
Run coding standards check
Process completed with exit code 2.
|
Loading