Skip to content

Commit

Permalink
feat: remove unused getPlainForeignKey
Browse files Browse the repository at this point in the history
  • Loading branch information
divine committed May 27, 2021
1 parent 8b44a1c commit 924c285
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions src/Relations/HasMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ public function getForeignKeyName()
return $this->foreignKey;
}

/**
* Get the plain foreign key.
* @return string
*/
public function getPlainForeignKey()
{
return $this->getForeignKeyName();
}

/**
* Get the key for comparing against the parent key in "has" query.
* @return string
Expand Down
9 changes: 0 additions & 9 deletions src/Relations/HasOne.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ public function getHasCompareKey()
return $this->getForeignKeyName();
}

/**
* Get the plain foreign key.
* @return string
*/
public function getPlainForeignKey()
{
return $this->getForeignKeyName();
}

/**
* @inheritdoc
*/
Expand Down

0 comments on commit 924c285

Please sign in to comment.