Skip to content

Commit 5b34e01

Browse files
committed
Fix serialization of body and head properties
1 parent 78b2f38 commit 5b34e01

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
@@ -31,7 +31,7 @@ public function __construct(
3131
public function __sleep(): array
3232
{
3333
// We don't want to serialize the parsed message.
34-
return ['folder', 'uid', 'flags', 'headers', 'contents', 'size'];
34+
return ['folder', 'uid', 'flags', 'head', 'body', 'size'];
3535
}
3636

3737
/**

0 commit comments

Comments
 (0)