Skip to content

Commit c443ca6

Browse files
committed
Remove guessBelongsToManyRelation method;
1 parent b785d93 commit c443ca6

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Eloquent/HybridRelations.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -453,20 +453,6 @@ public function morphedByMany(
453453
);
454454
}
455455

456-
/**
457-
* Get the relationship name of the belongs to many.
458-
*
459-
* @return string
460-
*/
461-
protected function guessBelongsToManyRelation()
462-
{
463-
if (method_exists($this, 'getBelongsToManyCaller')) {
464-
return $this->getBelongsToManyCaller();
465-
}
466-
467-
return parent::guessBelongsToManyRelation();
468-
}
469-
470456
/** @inheritdoc */
471457
public function newEloquentBuilder($query)
472458
{

0 commit comments

Comments
 (0)