We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 932bb69 commit 45d1673Copy full SHA for 45d1673
src/Jenssegers/Mongodb/Relations/BelongsToMany.php
@@ -47,7 +47,7 @@ public function addConstraints()
47
* @param bool $detaching
48
* @return void
49
*/
50
- public function sync(array $ids, $detaching = true)
+ public function sync($ids, $detaching = true)
51
{
52
if ($ids instanceof Collection) $ids = $ids->modelKeys();
53
0 commit comments