Skip to content

Commit 72b105d

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 5b34265 commit 72b105d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jenssegers/Mongodb/Relations/BelongsToMany.php

Lines changed: 1 addition & 1 deletion
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)