Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 45d1673

Browse files
author
Alexandre Gravel-Raymond
committedApr 16, 2014
Backport Eloquent BelongsToMany::sync function signature
1 parent 932bb69 commit 45d1673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Jenssegers/Mongodb/Relations/BelongsToMany.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function addConstraints()
4747
* @param bool $detaching
4848
* @return void
4949
*/
50-
public function sync(array $ids, $detaching = true)
50+
public function sync($ids, $detaching = true)
5151
{
5252
if ($ids instanceof Collection) $ids = $ids->modelKeys();
5353

0 commit comments

Comments
 (0)
Please sign in to comment.