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

[5.2] Support : make Collection::jsonSerialize also handles Jsonable objects. #11988

Merged
merged 1 commit into from
Jan 22, 2016
Merged

[5.2] Support : make Collection::jsonSerialize also handles Jsonable objects. #11988

merged 1 commit into from
Jan 22, 2016

Conversation

lucasmichot
Copy link
Contributor

Make Collection::jsonSerialize also handles Jsonable objects.
Targeting 5.2 on purpose, see #11739 and #11740.

@GrahamCampbell
Copy link
Member

This is a BC break imo.

@taylorotwell
Copy link
Member

Sounds like fairly expected behavior if we're already doing Arrayable and JsonSerializable.

taylorotwell added a commit that referenced this pull request Jan 22, 2016
…nserialize

[5.2] Support : make Collection::jsonSerialize also handles Jsonable objects.
@taylorotwell taylorotwell merged commit 4b4c6b0 into laravel:5.2 Jan 22, 2016
@lucasmichot lucasmichot deleted the feature/5.2/collection-jsonserialize branch June 27, 2016 07:00
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.

3 participants