Skip to content

Commit f147d26

Browse files
committed
Fix passing in content disposition type value
1 parent e72787d commit f147d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ protected function getLazyAttachments(): array
281281
$part->filename(),
282282
$part->id(),
283283
$part->contentType(),
284-
$part->disposition()?->type(),
284+
$part->disposition()?->type()?->value,
285285
new Support\LazyBodyPartStream($this, $part),
286286
),
287287
$this->bodyStructure()?->attachments() ?? []

0 commit comments

Comments
 (0)