Skip to content

Commit 5d41b18

Browse files
committed
Make newPivotQuery function public
PR laravel/framework#31677 made newPivotQuery function public and that's the reason why builds are failing.
1 parent c0839bc commit 5d41b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jenssegers/Mongodb/Relations/BelongsToMany.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ protected function buildDictionary(Collection $results)
265265
/**
266266
* @inheritdoc
267267
*/
268-
protected function newPivotQuery()
268+
public function newPivotQuery()
269269
{
270270
return $this->newRelatedQuery();
271271
}

0 commit comments

Comments
 (0)