diff --git a/composer.lock b/composer.lock index e72cc04a15..ca39c7d084 100644 --- a/composer.lock +++ b/composer.lock @@ -5124,5 +5124,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/src/Appwrite/Platform/Tasks/QueueCount.php b/src/Appwrite/Platform/Tasks/QueueCount.php index 4759a79d32..9b7bba82d1 100644 --- a/src/Appwrite/Platform/Tasks/QueueCount.php +++ b/src/Appwrite/Platform/Tasks/QueueCount.php @@ -58,7 +58,7 @@ class QueueCount extends Action $queueClient = new Client($name, $queue); - $count = match($type) { + $count = match ($type) { 'success' => $queueClient->countSuccessfulJobs(), 'failed' => $queueClient->countFailedJobs(), 'processing' => $queueClient->countProcessingJobs(),