fix: fake handle in case it does not exist

This commit is contained in:
Maël Gangloff
2024-12-29 13:47:19 +01:00
parent 4761c982ad
commit 7275859bd6
3 changed files with 19 additions and 1 deletions

View File

@@ -106,6 +106,9 @@ class Domain
#[Groups(['domain:item', 'domain:list', 'watchlist:item', 'watchlist:list'])]
private ?bool $deleted;
#[Groups(['domain:item'])]
private ?RdapServer $rdapServer;
/**
* @var Collection<int, DomainStatus>
*/
@@ -423,4 +426,14 @@ class Domain
return $this;
}
public function getRdapServer(): ?RdapServer
{
return $this->rdapServer;
}
public function setRdapServer(?RdapServer $rdapServer): void
{
$this->rdapServer = $rdapServer;
}
}