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 #140 #141

Merged
merged 2 commits into from
Jan 6, 2024
Merged

Fix #140 #141

merged 2 commits into from
Jan 6, 2024

Conversation

anaxamaxan
Copy link
Contributor

Use getMorphClass() instead of get_class to resolve the taggable_type. Add same to the anonymous class in getQualifiedPivotTableName().

Thank you for helping to make this package better!

Please make sure you've read CONTRIBUTING.md
before submitting your pull request, and that you have:

  • provided a rationale for your change (I try not to add features that are going to have a limited user-base)

See issue #140 for info.

  • used the PSR-2 Coding Standard

  • added tests
    No change to tests. I don't know how to change Relation::enforceMorphMap() dynamically.

  • documented any change in behaviour (e.g. updated the README.md, etc.)
    No change to behavior.

  • only submitted one pull request per feature
    It's a small change.

…ve the taggable_type. Add same to the anonymous class in getQualifiedPivotTableName().
@cviebrock cviebrock merged commit 55ed8c9 into cviebrock:master Jan 6, 2024
4 checks passed
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