Commit 418c3dbf authored by Jens Segers's avatar Jens Segers

Merge pull request #192 from ilesinge/belongstomany_sync

Backport Eloquent BelongsToMany::sync function signature
parents f2f46be1 45d1673c
......@@ -47,7 +47,7 @@ class BelongsToMany extends EloquentBelongsToMany {
* @param bool $detaching
* @return void
*/
public function sync(array $ids, $detaching = true)
public function sync($ids, $detaching = true)
{
if ($ids instanceof Collection) $ids = $ids->modelKeys();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment