mirror of
https://github.com/appwrite/appwrite
synced 2026-05-10 02:31:01 +00:00
Lint
This commit is contained in:
parent
cd72d70432
commit
382ffceed9
3 changed files with 3 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue