mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
remove static
This commit is contained in:
1 parent
275b9a1186
commit
da56ef39f8
1 file changed
+2
-10
@@ -17,18 +17,10 @@ class Types extends Validator
|
||||
*/
|
||||
protected array $types;
|
||||
|
||||
/**
|
||||
* @var array<Query>
|
||||
*/
|
||||
protected array $queries;
|
||||
|
||||
/**
|
||||
* @var QueryContext
|
||||
*/
|
||||
protected ?QueryContext $context = null;
|
||||
|
||||
/**
|
||||
* @param array<string> $allowedAttributes
|
||||
* @var array<string>
|
||||
*/
|
||||
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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user