Skip to content

Commit 8b5320a

Browse files
committed
Fix typo
1 parent 838ff87 commit 8b5320a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mime/Part/TextPart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private function getEncoder(): ContentEncoderInterface
219219
public static function addEncoder(string $name, ContentEncoderInterface $encoder): void
220220
{
221221
if (\in_array($name, self::DEFAULT_ENCODERS, true)) {
222-
throw new InvalidArgumentException('You are not allowed to change the default encoders ("quoted-printable","base64","8bit"). If you want to modify their behaviour please register and use a new encoder.');
222+
throw new InvalidArgumentException('You are not allowed to change the default encoders ("quoted-printable", "base64", and "8bit").');
223223
}
224224

225225
self::$encoders[$name] = $encoder;

0 commit comments

Comments
 (0)