This commit is contained in:
Jake Barnby 2025-04-17 21:19:12 +12:00
parent cd72d70432
commit 382ffceed9
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
3 changed files with 3 additions and 6 deletions

View file

@ -20,7 +20,6 @@ use Utopia\Config\Config;
use Utopia\Database\Adapter\MySQL; use Utopia\Database\Adapter\MySQL;
use Utopia\Database\Database; use Utopia\Database\Database;
use Utopia\Platform\Action; use Utopia\Platform\Action;
use Utopia\Registry\Registry;
use Utopia\Request as UtopiaRequest; use Utopia\Request as UtopiaRequest;
use Utopia\Response as UtopiaResponse; use Utopia\Response as UtopiaResponse;
use Utopia\System\System; use Utopia\System\System;

View file

@ -43,8 +43,7 @@ class Method
protected ContentType $requestType = ContentType::JSON, protected ContentType $requestType = ContentType::JSON,
protected array $parameters = [], protected array $parameters = [],
protected array $additionalParameters = [] protected array $additionalParameters = []
) ) {
{
$this->validateMethod($name, $namespace); $this->validateMethod($name, $namespace);
$this->validateAuthTypes($auth); $this->validateAuthTypes($auth);
$this->validateDesc($description); $this->validateDesc($description);

View file

@ -19,8 +19,7 @@ class Parameter
protected mixed $default = null, protected mixed $default = null,
protected mixed $validator = null, protected mixed $validator = null,
protected bool $optional = false, protected bool $optional = false,
) ) {
{
} }
public function getName(): string public function getName(): string