Skip to content

Commit 924c285

Browse files
committed
feat: remove unused getPlainForeignKey
1 parent 8b44a1c commit 924c285

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/Relations/HasMany.php

-9
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,6 @@ public function getForeignKeyName()
1717
return $this->foreignKey;
1818
}
1919

20-
/**
21-
* Get the plain foreign key.
22-
* @return string
23-
*/
24-
public function getPlainForeignKey()
25-
{
26-
return $this->getForeignKeyName();
27-
}
28-
2920
/**
3021
* Get the key for comparing against the parent key in "has" query.
3122
* @return string

src/Relations/HasOne.php

-9
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ public function getHasCompareKey()
2626
return $this->getForeignKeyName();
2727
}
2828

29-
/**
30-
* Get the plain foreign key.
31-
* @return string
32-
*/
33-
public function getPlainForeignKey()
34-
{
35-
return $this->getForeignKeyName();
36-
}
37-
3829
/**
3930
* @inheritdoc
4031
*/

0 commit comments

Comments
 (0)