wip
This commit is contained in:
@@ -176,7 +176,7 @@ class User extends Authenticatable
|
|||||||
*/
|
*/
|
||||||
public function ownsLoanOrder(LoanOrder $loanOrder): bool
|
public function ownsLoanOrder(LoanOrder $loanOrder): bool
|
||||||
{
|
{
|
||||||
return $this->id === intval($loanOrder->user_id);
|
return $this->id == intval($loanOrder->user_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user