Skip to content

Commit

Permalink
Merge pull request #67 from jaapromijn/fix/correct-sprintf-format-in-…
Browse files Browse the repository at this point in the history
…exception-message

fix: correct format in the exception message
  • Loading branch information
SzymonKostrubiec committed Apr 23, 2024
2 parents 27a5db8 + b8188a0 commit ac0b4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler/NewsletterSubscriptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private function exportNewEmail(string $email): void

throw new BadRequestHttpException(
sprintf(
'Mailchimp returned %1$i code, is the MAIL_CHIMP_LIST_ID [ %2$s ] one of available ones: [ %3$s ] ?',
'Mailchimp returned %1$d code, is the MAIL_CHIMP_LIST_ID [ %2$s ] one of available ones: [ %3$s ] ?',
Response::HTTP_NOT_FOUND,
$this->listId,
$concatenatedList
Expand Down

0 comments on commit ac0b4f8

Please sign in to comment.