ci: add phpstan

This commit is contained in:
Maël Gangloff
2024-08-03 00:06:38 +02:00
parent b460e8aaa6
commit b7899cc8a5
11 changed files with 99 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ class DomainRefreshController extends AbstractController
}
}
$updatedAt = null === $domain ? new \DateTimeImmutable('now') : $domain->getUpdatedAt();
$updatedAt = null === $domain->getUpdatedAt() ? new \DateTimeImmutable('now') : $domain->getUpdatedAt();
$domain = $this->RDAPService->registerDomain($ldhName);
/** @var WatchList $watchList */