Skip to content

[5.8] Fix Builder::dump() and dd() with global scopes - #28858

Merged
taylorotwell merged 1 commit into
laravel:5.8from
staudenmeir:eloquent-dump
Jun 17, 2019
Merged

[5.8] Fix Builder::dump() and dd() with global scopes#28858
taylorotwell merged 1 commit into
laravel:5.8from
staudenmeir:eloquent-dump

Conversation

@staudenmeir

Copy link
Copy Markdown
Contributor

Eloquent\Builder::dump() and dd() don't include global scopes, we need to call toBase() first.

There aren't any tests for these methods.

@taylorotwell
taylorotwell merged commit cf90774 into laravel:5.8 Jun 17, 2019
@staudenmeir
staudenmeir deleted the eloquent-dump branch June 18, 2019 00:54
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