Skip to content
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

Fix __serialize() and __unserialize() Also added back the original serialize() and unserialize() method #869

Merged
merged 4 commits into from Jul 26, 2022

Conversation

SQKo
Copy link
Member

@SQKo SQKo commented Jul 26, 2022

There was a mistake in #599 where @davidcole1340 asked to keep the methods but instead it was renamed to __serialize() and __unserialize() which does handle array instead of string (so it was throwing PHP fatal error). This PR fixes them.

Tested & can be merged (please squash)

@SQKo SQKo requested a review from a team July 26, 2022 15:07
@SQKo SQKo merged commit 4a01046 into discord-php:master Jul 26, 2022
@SQKo SQKo deleted the patch-96 branch July 31, 2022 03:59
SQKo added a commit to SQKo/DiscordPHP that referenced this pull request Aug 9, 2022
…rialize() and unserialize() method (discord-php#869)

* Fix Part serialization

* remove serializable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants