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

Fix return type of calling scope on relation #322

Merged
merged 3 commits into from
Oct 7, 2019
Merged

Fix return type of calling scope on relation #322

merged 3 commits into from
Oct 7, 2019

Conversation

canvural
Copy link
Collaborator

@canvural canvural commented Oct 7, 2019

I introduced a bug with my previous PR.

The return type of relation should always be the original relation. No matter if a scope is called or not.

This PR changes the return type to the original relation model.

@nunomaduro nunomaduro merged commit 41829ca into larastan:master Oct 7, 2019
@canvural canvural deleted the patch-1 branch October 21, 2019 14: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.

None yet

2 participants