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

refactor: cleanup call forwarding logic in extensions #816

Merged
merged 6 commits into from
Apr 20, 2021

Conversation

canvural
Copy link
Collaborator

@canvural canvural commented Apr 20, 2021

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Changes
This PR refactors the EloquentBuilderForwardsCallsExtension, ModelForwardsCallsExtension and RelationForwardsCallsExtension extensions.

There are no breaking changes with this PR nor new features. (Although it seems accidently it fixes #804 and #814 😄 ) It's just a refactor of the internals. Extracting common methods, organizing code and tests.

Breaking changes

none

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.

False positive undefined methods on relations
2 participants