Skip to content

Commit 3e2e0c7

Browse files
author
Dan Hanly
committed
Simplify conditions
1 parent a8ddbf0 commit 3e2e0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CssInlinerPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private function handleSymfonyEmail(Email $message): void
9696

9797
if ($body instanceof TextPart) {
9898
$message->setBody($this->processPart($body));
99-
} elseif ($body instanceof AbstractMultipartPart || $body instanceof AlternativePart || $body instanceof MixedPart) {
99+
} elseif ($body instanceof AbstractMultipartPart) {
100100
$part_type = get_class($body);
101101
$message->setBody(new $part_type(
102102
...array_map(

0 commit comments

Comments
 (0)