mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Change getCertificateStatus return type
This commit is contained in:
1 parent
6514a992a1
commit
7f99bd2dd2
2 files changed
+2
-2
No files matched your search
@@ -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