From 0e27088e2aa3457fca73909798055df2574ee4f1 Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Wed, 17 Dec 2025 20:54:18 +0530 Subject: [PATCH] change function signature --- src/Appwrite/Certificates/Adapter.php | 2 +- src/Appwrite/Certificates/LetsEncrypt.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Certificates/Adapter.php b/src/Appwrite/Certificates/Adapter.php index 121542baa1..770d2bb71d 100644 --- a/src/Appwrite/Certificates/Adapter.php +++ b/src/Appwrite/Certificates/Adapter.php @@ -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; diff --git a/src/Appwrite/Certificates/LetsEncrypt.php b/src/Appwrite/Certificates/LetsEncrypt.php index 14a61203a1..7e71080a3c 100644 --- a/src/Appwrite/Certificates/LetsEncrypt.php +++ b/src/Appwrite/Certificates/LetsEncrypt.php @@ -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; }