Skip to content

Commit

Permalink
Adds missing method
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Mar 6, 2024
1 parent f3902ac commit ea3fa78
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Database/Relations/AttachOneOrMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,15 @@ public function makeValidationFile($value)
return $value;
}

/**
* getRelatedKeyName
* @return string
*/
public function getRelatedKeyName()
{
return $this->related->getKeyName();
}

/**
* @deprecated use getForeignKeyName
*/
Expand Down

0 comments on commit ea3fa78

Please sign in to comment.