We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71fde9d commit ee3e7b3Copy full SHA for ee3e7b3
lib/public/Mail/Provider/Message.php
@@ -80,7 +80,7 @@ public function jsonDeserialize(array|string $data): static {
80
foreach ($data[$field] as $item) {
81
if (is_array($item)) {
82
if ($field === 'attachments') {
83
- $attachment = (new Attachment())->jsonDeserialize($item);
+ $attachment = (new Attachment(null, null, null))->jsonDeserialize($item);
84
$this->data[$field][] = $attachment;
85
} else {
86
$address = (new Address())->jsonDeserialize($item);
0 commit comments