mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
remove instance of
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user