From 5a8a900b1881f9e898750afd36d6aa77b1c53821 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 18 Nov 2025 12:50:22 +0530 Subject: [PATCH] format --- src/Appwrite/Platform/Tasks/Specs.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/Specs.php b/src/Appwrite/Platform/Tasks/Specs.php index c69558d096..edb1fc56ed 100644 --- a/src/Appwrite/Platform/Tasks/Specs.php +++ b/src/Appwrite/Platform/Tasks/Specs.php @@ -44,13 +44,13 @@ class Specs extends Action } protected function getFormatInstance(string $format, array $arguments) - { - return match ($format) { - 'swagger2' => new Swagger2(...$arguments), - 'open-api3' => new OpenAPI3(...$arguments), - default => throw new Exception('Format not found: ' . $format) - }; - } + { + return match ($format) { + 'swagger2' => new Swagger2(...$arguments), + 'open-api3' => new OpenAPI3(...$arguments), + default => throw new Exception('Format not found: ' . $format) + }; + } public function __construct() {