Skip to content

Commit

Permalink
Merge pull request #10201 from nextcloud/backport/10114/stable4.0
Browse files Browse the repository at this point in the history
[stable4.0] docs: document the expected format for convertToRecipient
  • Loading branch information
st3iny authored Sep 30, 2024
2 parents ee91057 + 59ed610 commit 4631cbc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/Service/OutboxService.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function __construct(IMailTransmission $transmission,
}

/**
* @param array $recipients
* @param array<int, array{email: string, label?: string}> $recipients
* @param int $type
* @return Recipient[]
*/
Expand Down Expand Up @@ -129,9 +129,9 @@ public function sendMessage(LocalMessage $message, Account $account): LocalMessa
/**
* @param Account $account
* @param LocalMessage $message
* @param array<int, string[]> $to
* @param array<int, string[]> $cc
* @param array<int, string[]> $bcc
* @param array<int, array{email: string, label?: string}> $to
* @param array<int, array{email: string, label?: string}> $cc
* @param array<int, array{email: string, label?: string}> $bcc
* @param array $attachments
* @return LocalMessage
*/
Expand Down Expand Up @@ -160,9 +160,9 @@ public function saveMessage(Account $account, LocalMessage $message, array $to,
/**
* @param Account $account
* @param LocalMessage $message
* @param array<int, string[]> $to
* @param array<int, string[]> $cc
* @param array<int, string[]> $bcc
* @param array<int, array{email: string, label?: string}> $to
* @param array<int, array{email: string, label?: string}> $cc
* @param array<int, array{email: string, label?: string}> $bcc
* @param array $attachments
* @return LocalMessage
*/
Expand Down

0 comments on commit 4631cbc

Please sign in to comment.