Commit dfdcfc52 authored by Ditty's avatar Ditty

Make newPivotQuery function public

PR https://github.com/laravel/framework/pull/31677 made newPivotQuery function public and that's the reason why builds are failing.
parent 01dfe3c0
...@@ -265,7 +265,7 @@ class BelongsToMany extends EloquentBelongsToMany ...@@ -265,7 +265,7 @@ class BelongsToMany extends EloquentBelongsToMany
/** /**
* @inheritdoc * @inheritdoc
*/ */
protected function newPivotQuery() public function newPivotQuery()
{ {
return $this->newRelatedQuery(); 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