change function signature

This commit is contained in:
Hemachandar 2025-12-17 20:54:18 +05:30
parent 70a7deaa38
commit 0e27088e2a
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ interface Adapter
{
public function issueCertificate(string $certName, string $domain, ?string $domainType): ?string;
public function isInstantGeneration(): bool;
public function isInstantGeneration(string $domain, ?string $domainType): bool;
public function isRenewRequired(string $domain, ?string $domainType, Log $log): bool;

View file

@ -84,7 +84,7 @@ class LetsEncrypt implements Adapter
return DateTime::addSeconds($dt, -60 * 60 * 24 * 30);
}
public function isInstantGeneration(): bool
public function isInstantGeneration(string $domain, ?string $domainType): bool
{
return true;
}