Check file extensions
This commit is contained in:
@@ -114,4 +114,12 @@ class User extends Authenticatable
|
||||
{
|
||||
return $this->id === $loanOrder->user_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if phone is verified
|
||||
*/
|
||||
public function phoneIsVerified(): bool
|
||||
{
|
||||
return ! is_null($this->phone_verified_at);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user