mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 02:05:36 +00:00
fix: getTld return type
This commit is contained in:
parent
54d9b9dd19
commit
c10ca23272
@ -170,7 +170,7 @@ readonly class RDAPService
|
||||
return $domain;
|
||||
}
|
||||
|
||||
private function getTld($domain): ?object
|
||||
private function getTld($domain): Tld
|
||||
{
|
||||
if (!str_contains($domain, '.')) {
|
||||
$tldEntity = $this->tldRepository->findOneBy(['tld' => '']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user