From da56ef39f88170070070d1f158a62fb2b6646098 Mon Sep 17 00:00:00 2001 From: fogelito Date: Mon, 12 Jan 2026 15:39:36 +0200 Subject: [PATCH] remove static --- .../Utopia/Database/Validator/Queries/Types.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/Appwrite/Utopia/Database/Validator/Queries/Types.php b/src/Appwrite/Utopia/Database/Validator/Queries/Types.php index dac4c4bbf6..a70576cd86 100644 --- a/src/Appwrite/Utopia/Database/Validator/Queries/Types.php +++ b/src/Appwrite/Utopia/Database/Validator/Queries/Types.php @@ -17,18 +17,10 @@ class Types extends Validator */ protected array $types; - /** - * @var array - */ - protected array $queries; - - /** - * @var QueryContext - */ protected ?QueryContext $context = null; /** - * @param array $allowedAttributes + * @var array */ protected array $allowedAttributes; @@ -78,7 +70,7 @@ class Types extends Validator } if ($query->isNested()) { - if (!self::isValid($query->getValues())) { + if (!$this->isValid($query->getValues())) { throw new \Exception('Invalid queries'); } }