Skip to content

Commit

Permalink
Make newPivotQuery function public
Browse files Browse the repository at this point in the history
PR laravel/framework#31677 made newPivotQuery function public and that's the reason why builds are failing.
  • Loading branch information
divine committed Aug 25, 2021
1 parent 5b34265 commit 72b105d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jenssegers/Mongodb/Relations/BelongsToMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ protected function buildDictionary(Collection $results)
/**
* @inheritdoc
*/
protected function newPivotQuery()
public function newPivotQuery()
{
return $this->newRelatedQuery();
}
Expand Down

0 comments on commit 72b105d

Please sign in to comment.