From c77304d4666e0ed3134fac2d863bdffdfa1763be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Tue, 30 Jul 2024 13:36:17 +0200 Subject: [PATCH] Bump php-cs-fixer to version 3.60 (#1743) --- CHANGELOG.md | 4 ++++ src/Input/SendEmailRequest.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa09a5a..7ab883c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Changed + +- Enable compiler optimization for the `sprintf` function. + ## 1.8.1 ### Changed diff --git a/src/Input/SendEmailRequest.php b/src/Input/SendEmailRequest.php index d6d8f87..a786da3 100644 --- a/src/Input/SendEmailRequest.php +++ b/src/Input/SendEmailRequest.php @@ -356,7 +356,7 @@ private function requestBody(): array $payload['FeedbackForwardingEmailAddressIdentityArn'] = $v; } if (null === $v = $this->content) { - throw new InvalidArgument(sprintf('Missing parameter "Content" for "%s". The value cannot be null.', __CLASS__)); + throw new InvalidArgument(\sprintf('Missing parameter "Content" for "%s". The value cannot be null.', __CLASS__)); } $payload['Content'] = $v->requestBody(); if (null !== $v = $this->emailTags) {