Skip to content

Commit

Permalink
docs: document the expected format for convertToRecipient
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb authored and backportbot[bot] committed Sep 30, 2024
1 parent ee91057 commit 59ed610
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 59ed610

Please sign in to comment.