mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Change getCertificateStatus return type
This commit is contained in:
@@ -10,7 +10,7 @@ interface Adapter
|
||||
|
||||
public function isInstantGeneration(string $domain, ?string $domainType): bool;
|
||||
|
||||
public function getCertificateStatus(string $domain, ?string $domainType): string;
|
||||
public function getCertificateStatus(string $domain, ?string $domainType): array;
|
||||
|
||||
public function isRenewRequired(string $domain, ?string $domainType, Log $log): bool;
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ class LetsEncrypt implements Adapter
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getCertificateStatus(string $domain, ?string $domainType): string
|
||||
public function getCertificateStatus(string $domain, ?string $domainType): array
|
||||
{
|
||||
throw new CertificateStatusException('Certificate status retrieval is not supported for LetsEncrypt.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user