From 53f778dc12603c643cd39a4bd6f7e8be3a1a0e81 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 26 Aug 2025 17:43:11 +0530 Subject: [PATCH] remove instance of --- src/Appwrite/SDK/Specification/Format/OpenAPI3.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php index 8a50ba0246..489b3825af 100644 --- a/src/Appwrite/SDK/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/SDK/Specification/Format/OpenAPI3.php @@ -3,7 +3,6 @@ namespace Appwrite\SDK\Specification\Format; use Appwrite\SDK\AuthType; -use Appwrite\SDK\Deprecated; use Appwrite\SDK\Method; use Appwrite\SDK\MethodType; use Appwrite\SDK\Response; @@ -167,7 +166,7 @@ class OpenAPI3 extends Format ], ]; - if ($sdk->getDeprecated() instanceof Deprecated) { + if ($sdk->getDeprecated()) { $temp['x-appwrite']['deprecated'] = [ 'since' => $sdk->getDeprecated()->getSince(), 'replaceWith' => $sdk->getDeprecated()->getReplaceWith(),