diff --git a/lib/Controller/MessageApiController.php b/lib/Controller/MessageApiController.php index 6b4a9d98c1..71e6879756 100644 --- a/lib/Controller/MessageApiController.php +++ b/lib/Controller/MessageApiController.php @@ -80,8 +80,8 @@ public function __construct( * @param string $body The message body * @param bool $isHtml If the message body contains HTML * @param list $to An array of "To" recipients in the format ['label' => 'Name', 'email' => 'Email Address'] or ['email' => 'Email Address'] - * @param ?list $cc An optional array of 'CC' recipients in the format ['label' => 'Name', 'email' => 'Email Address'] or ['email' => 'Email Address'] - * @param ?list $bcc An optional array of 'BCC' recipients in the format ['label' => 'Name', 'email' => 'Email Address'] or ['email' => 'Email Address'] + * @param array|list $cc An optional array of 'CC' recipients in the format ['label' => 'Name', 'email' => 'Email Address'] or ['email' => 'Email Address'] + * @param array|list $bcc An optional array of 'BCC' recipients in the format ['label' => 'Name', 'email' => 'Email Address'] or ['email' => 'Email Address'] * @param ?string $references An optional string of an RFC2392 "message-id" to set the "Reply-To" and "References" header on sending * @return DataResponse *