Skip to content

Conversation

@crynobone
Copy link
Member

Signed-off-by: Mior Muhammad Zaki [email protected]

@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 ?

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