Skip to content

Commit

Permalink
fixup! feat(ocs): add OCS extractor and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
miaulalala committed Aug 5, 2024
1 parent f257e21 commit bbea902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/MessageApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function __construct(
* @param list<array{ label?: string, email: string}> $to An array of "To" recipients in the format ['label' => 'Name', 'email' => 'Email Address'] or ['email' => 'Email Address']
* @param ?list<array{ label?: string, email: string}> $cc An optional array of 'CC' recipients in the format ['label' => 'Name', 'email' => 'Email Address'] or ['email' => 'Email Address']

Check failure on line 83 in lib/Controller/MessageApiController.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-master

MismatchingDocblockParamType

lib/Controller/MessageApiController.php:83:12: MismatchingDocblockParamType: Parameter $cc has wrong type 'list<array{email: string, label?: string}>|null', should be 'array<array-key, mixed>' (see https://psalm.dev/141)
* @param ?list<array{ label?: string, email: string}> $bcc An optional array of 'BCC' recipients in the format ['label' => 'Name', 'email' => 'Email Address'] or ['email' => 'Email Address']

Check failure on line 84 in lib/Controller/MessageApiController.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis dev-master

MismatchingDocblockParamType

lib/Controller/MessageApiController.php:84:12: MismatchingDocblockParamType: Parameter $bcc has wrong type 'list<array{email: string, label?: string}>|null', should be 'array<array-key, mixed>' (see https://psalm.dev/141)
* @param ?string $references An optional string of an RFC2392 <message-id> to set the "Reply-To" and "References" header on sending
* @param ?string $references An optional string of an RFC2392 "message-id" to set the "Reply-To" and "References" header on sending
* @return DataResponse<Http::STATUS_OK|Http::STATUS_ACCEPTED|Http::STATUS_BAD_REQUEST|Http::STATUS_FORBIDDEN|Http::STATUS_NOT_FOUND|Http::STATUS_INTERNAL_SERVER_ERROR, string, array{}>
*
* 200: The email was sent
Expand Down

0 comments on commit bbea902

Please sign in to comment.