Skip to content

Commit 418c3db

Browse files
committed
Merge pull request #192 from ilesinge/belongstomany_sync
Backport Eloquent BelongsToMany::sync function signature
2 parents f2f46be + 45d1673 commit 418c3db

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)