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

[8.x] The controller can directly return the stdClass object #38033

Merged
merged 2 commits into from
Jul 16, 2021
Merged

[8.x] The controller can directly return the stdClass object #38033

merged 2 commits into from
Jul 16, 2021

Conversation

allowing
Copy link
Contributor

DB::table('users')->find(1) returns an instance of stdClass, which is now allowed to return directly from the controller method.

@allowing allowing changed the title The controller can directly return the stdClass object [8.x] The controller can directly return the stdClass object Jul 16, 2021
@taylorotwell taylorotwell merged commit c46b26a into laravel:8.x Jul 16, 2021
@allowing allowing deleted the patch-6 branch July 21, 2021 05:58
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