You've already forked isop-mirror
refactor: rename contact method to contactPerson to avoid default conflicts
This commit is contained in:
@@ -44,7 +44,7 @@ class Company extends Model
|
|||||||
/**
|
/**
|
||||||
* Get the contact person (user) for the company.
|
* Get the contact person (user) for the company.
|
||||||
*/
|
*/
|
||||||
public function contact()
|
public function contactPerson()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(User::class, 'contact');
|
return $this->belongsTo(User::class, 'contact');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user