Check file extensions

This commit is contained in:
2023-12-02 22:29:57 +05:00
parent b780a31a00
commit e940d17bad
9 changed files with 48 additions and 23 deletions

View File

@@ -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);
}
}