Skip to content

Commit c8750a4

Browse files
Fix transport config to match the docs
1 parent c073121 commit c8750a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mailer/Transport/QueueTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ protected function prepareData(Message $message): array
8585
{
8686
return [
8787
'transport' => $this->getConfig('transport'),
88-
'config' => $this->getConfig(),
88+
'config' => is_array($this->getConfig('config')) ? $this->getConfig('config') : $this->getConfig(),
8989
'emailMessage' => json_encode($message),
9090
];
9191
}

0 commit comments

Comments
 (0)