Skip to content

Commit 0674ad6

Browse files
committed
Remove getQualifiedForeignPivotKeyName method;
Don't need to override. the result is the same as parent.
1 parent f6b5112 commit 0674ad6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Relations/MorphToMany.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -379,14 +379,6 @@ public function getForeignKey()
379379
return $this->foreignPivotKey;
380380
}
381381

382-
/** @inheritdoc */
383-
public function getQualifiedForeignPivotKeyName()
384-
{
385-
return str_contains($this->foreignPivotKey, '.')
386-
? $this->foreignPivotKey
387-
: $this->table . '.' . $this->foreignPivotKey;
388-
}
389-
390382
/** @inheritdoc */
391383
public function getQualifiedRelatedPivotKeyName()
392384
{

0 commit comments

Comments
 (0)