This commit is contained in:
Jake Barnby
2025-04-17 21:19:12 +12:00
parent cd72d70432
commit 382ffceed9
3 changed files with 3 additions and 6 deletions
-1
View File
@@ -20,7 +20,6 @@ use Utopia\Config\Config;
use Utopia\Database\Adapter\MySQL;
use Utopia\Database\Database;
use Utopia\Platform\Action;
use Utopia\Registry\Registry;
use Utopia\Request as UtopiaRequest;
use Utopia\Response as UtopiaResponse;
use Utopia\System\System;
+1 -2
View File
@@ -43,8 +43,7 @@ class Method
protected ContentType $requestType = ContentType::JSON,
protected array $parameters = [],
protected array $additionalParameters = []
)
{
) {
$this->validateMethod($name, $namespace);
$this->validateAuthTypes($auth);
$this->validateDesc($description);
+2 -3
View File
@@ -19,8 +19,7 @@ class Parameter
protected mixed $default = null,
protected mixed $validator = null,
protected bool $optional = false,
)
{
) {
}
public function getName(): string
@@ -72,4 +71,4 @@ class Parameter
{
$this->optional = $optional;
}
}
}