From 382ffceed97ef9533192a5195fbefc20be16612e Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 17 Apr 2025 21:19:12 +1200 Subject: [PATCH] Lint --- src/Appwrite/Platform/Tasks/Specs.php | 1 - src/Appwrite/SDK/Method.php | 3 +-- src/Appwrite/SDK/Parameter.php | 5 ++--- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/Specs.php b/src/Appwrite/Platform/Tasks/Specs.php index 1e9f956606..3189383198 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -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; diff --git a/src/Appwrite/SDK/Method.php b/src/Appwrite/SDK/Method.php index e1c2508f74..2296250a9e 100644 --- a/src/Appwrite/SDK/Method.php +++ b/src/Appwrite/SDK/Method.php @@ -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); diff --git a/src/Appwrite/SDK/Parameter.php b/src/Appwrite/SDK/Parameter.php index 2a0e463733..cf46e2475a 100644 --- a/src/Appwrite/SDK/Parameter.php +++ b/src/Appwrite/SDK/Parameter.php @@ -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; } -} \ No newline at end of file +}