Skip to content

Conversation

@AhmedAlaa4611
Copy link
Contributor

See: laravel/framework#56697

I used the same tone that we used here: #10765

Note

I didn't remove the example:

return $user->toJson(JSON_PRETTY_PRINT);

Because it's a way for documenting things. Also, the current docs state:

https://github.com/laravel/docs/blob/90032baf5391094038f32f2428680ac4a0420ee3/eloquent-serialization.md?plain=1#L54C174-L54C307

@taylorotwell
Copy link
Member

I think it's OK.

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.

2 participants