Skip to content

Commit 43dde25

Browse files
committed
mongodb#1930 update return type
1 parent 1afdebc commit 43dde25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Relations/BelongsToMany.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public function newPivotQuery()
267267
/**
268268
* Create a new query builder for the related model.
269269
*
270-
* @return \Illuminate\Database\Query\Builder
270+
* @return Builder|Model
271271
*/
272272
public function newRelatedQuery()
273273
{

0 commit comments

Comments
 (0)