Skip to content

Commit 279b18c

Browse files
authored
Merge pull request #1979 from divine/fix_make_pivot_public
[fix] Make newPivotQuery function public
2 parents 01dfe3c + 27acb90 commit 279b18c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Make sure you have the MongoDB PHP driver installed. You can find installation i
6363
5.6.x | 3.4.x
6464
5.7.x | 3.4.x
6565
5.8.x | 3.5.x
66-
6.0.x | 3.6.x
66+
6.x | 3.6.x
6767

6868
Install the package via Composer:
6969

Diff for: 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)