From 4cdc8a97a0e6631b88ff2da550c18d2e52dcf5be Mon Sep 17 00:00:00 2001 From: Darshan Date: Tue, 30 Dec 2025 17:51:47 +0530 Subject: [PATCH] lint. --- app/init/constants.php | 2 +- .../Databases/Http/Databases/Collections/Indexes/Create.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/init/constants.php b/app/init/constants.php index 1ad19468a6..a04523a7eb 100644 --- a/app/init/constants.php +++ b/app/init/constants.php @@ -397,4 +397,4 @@ const DATABASE_TYPE_TABLESDB = 'tablesdb'; const DATABASE_TYPE_DOCUMENTSDB = 'documentsdb'; // CSV import/export allowed database types -const CSV_ALLOWED_DATABASE_TYPES = [DATABASE_TYPE_LEGACY, DATABASE_TYPE_LEGACY]; \ No newline at end of file +const CSV_ALLOWED_DATABASE_TYPES = [DATABASE_TYPE_LEGACY, DATABASE_TYPE_LEGACY]; diff --git a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php index d38d222e80..1ace6d4312 100644 --- a/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php +++ b/src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php @@ -165,7 +165,7 @@ class Create extends Action } if ($attributeStatus !== 'available') { - throw new Exception($this->getParentNotAvailableException(), params: [$oldAttributes[$attributeIndex]['key']]); + throw new Exception($this->getParentNotAvailableException(), params: [$oldAttributes[$attributeIndex]['key']]); } if (empty($lengths[$i])) {