remove instance of

This commit is contained in:
Chirag Aggarwal
2025-08-26 17:43:11 +05:30
parent 6acde0b335
commit 53f778dc12
@@ -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(),