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

make PowerJoins trait check compatible with both PowerJoins version 2 & 3 #478

Closed
wants to merge 4 commits into from

Conversation

jamesj2
Copy link
Contributor

@jamesj2 jamesj2 commented Jul 11, 2023

Use Laravel's class_uses_recursive() to check for existence of PowerJoins trait. I my tests this works with both PowerJoins 2 & 3. This fixes #469 & #454.

@jamesj2
Copy link
Contributor Author

jamesj2 commented Sep 15, 2023

bump

@pascalbaljet
Copy link
Contributor

Thanks for this! As of v1.4.17, only v3 is supported.

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.

Can't get a simple powerjoin working
2 participants