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
lisadeloach63 committed Mar 3, 2020
1 parent f866ef5 commit a1fb061
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 a1fb061

Please sign in to comment.