add types
This commit is contained in:
@@ -146,6 +146,14 @@ class User extends Authenticatable
|
||||
return $this->id === $loanOrder->user_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if user owns loan order.
|
||||
*/
|
||||
public function ownsCardOrder(CardOrder $cardOrder): bool
|
||||
{
|
||||
return $this->id === $cardOrder->user_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if phone is verified
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user