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

[9.x] Cast Stringable to string when used with json_encode() #35680

Merged
merged 3 commits into from
Dec 20, 2020

Conversation

crynobone
Copy link
Member

Signed-off-by: Mior Muhammad Zaki crynobone@gmail.com

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@GrahamCampbell GrahamCampbell changed the title [9.x] Cast Stringable to string when used with json_encode(). [9.x] Cast Stringable to string when used with json_encode() Dec 20, 2020
/**
* Convert the object into something JSON serializable.
*
* @return array

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

string or array ?

taylorotwell and others added 2 commits December 20, 2020 16:11
Co-authored-by: Anton Komarev <1849174+antonkomarev@users.noreply.github.com>
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.

4 participants