Unverified Commit 279b18c7 authored by Stas's avatar Stas Committed by GitHub

Merge pull request #1979 from divine/fix_make_pivot_public

[fix] Make newPivotQuery function public
parents 01dfe3c0 27acb90f
......@@ -63,7 +63,7 @@ Make sure you have the MongoDB PHP driver installed. You can find installation i
5.6.x | 3.4.x
5.7.x | 3.4.x
5.8.x | 3.5.x
6.0.x | 3.6.x
6.x | 3.6.x
Install the package via Composer:
......
......@@ -265,7 +265,7 @@ class BelongsToMany extends EloquentBelongsToMany
/**
* @inheritdoc
*/
protected function newPivotQuery()
public function newPivotQuery()
{
return $this->newRelatedQuery();
}
......
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