10000 [Mime] Fix serialization of RawMessage by gilbertsoft · Pull Request #38433 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Mime] Fix serialization of RawMessage #38433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed E76E to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix serialization of RawMessage
  • Loading branch information
gilbertsoft committed Oct 6, 2020
commit 56a63d116aa28d0eb6b995618d92761cfa16f2e5
2 changes: 1 addition & 1 deletion src/Symfony/Component/Mime/RawMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ final public function unserialize($serialized)

public function __serialize(): array
{
return [$this->message];
return [$this->toString()];
}

public function __unserialize(array $data): void
Expand Down
0