mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 08:35:18 +00:00
Method getAdvancedUserInfo of API working
This commit is contained in:
@ -34,6 +34,10 @@ class AdvancedUser extends User {
|
||||
$this->personnalWebsite = $personnalWebsite == "" ? null : $personnalWebsite;
|
||||
}
|
||||
|
||||
public function has_personnalWebsite() : bool {
|
||||
return $this->personnalWebsite != null;
|
||||
}
|
||||
|
||||
public function get_personnalWebsite() : string {
|
||||
return $this->personnalWebsite != null ? $this->personnalWebsite : "null";
|
||||
}
|
||||
|
Reference in New Issue
Block a user