-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix HybridRelations::belongsToMany not compatible with Model::belongsToMany #1282
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
Conversation
fix HybridRelations::belongsToMany not compatible with Model::belongsToMany. This is incompatible with 5.4
Looks like there are more things broken according to travis. |
I went through the file and updated all of the functions while keeping the composer.json changes as well. Here's a patch file. Can someone tell me if it fixes this? |
Check out this gist 066e219 |
@jenssegers i am still having this issue while installing version 3.2.3 with L5.5
|
@@ -204,17 +204,20 @@ public function morphTo($name = null, $type = null, $id = null) | |||
} | |||
} | |||
|
|||
/** | |||
** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
miss the slash.
Should be closed, #1300 already merged cc @Smolevich |
This should fix issue #1273 for Laravel 5.5.
This is incompatible with Laravel < 5.5 so it couldn't be used for v 3.2.*