Skip to content

Backport Eloquent BelongsToMany::sync function signature #192

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

Merged
merged 1 commit into from
Apr 16, 2014

Conversation

ilesinge
Copy link

Backport new \Illuminate\Database\Eloquent\Relations\BelongsToMany::sync function signature from commit laravel/framework@ac5c270 (included in Laravel v4.1.26)

This allows to fix the following errors when using a BelongsToMany relation:

"[ErrorException]
Declaration of Jenssegers\Mongodb\Relations\BelongsToMany::sync() should be compatible with Illuminate\Database\Eloquent\Relations\BelongsToMany::sync($ids, $detaching = true)"

jenssegers added a commit that referenced this pull request Apr 16, 2014
Backport Eloquent BelongsToMany::sync function signature
@jenssegers jenssegers merged commit 418c3db into mongodb:master Apr 16, 2014
@jenssegers
Copy link
Contributor

Thanks!

@ilesinge ilesinge deleted the belongstomany_sync branch April 16, 2014 17:12
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
Backport Eloquent BelongsToMany::sync function signature
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