From aa26b98617ab6258456ecfd917fae879b5e32e41 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 10 Jul 2026 20:57:49 +0100 Subject: [PATCH] Drop narration comments Co-Authored-By: Claude Fable 5 --- .../Platform/Modules/Functions/Workers/Screenshots.php | 2 -- src/Appwrite/Screenshots/Client.php | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Functions/Workers/Screenshots.php b/src/Appwrite/Platform/Modules/Functions/Workers/Screenshots.php index 3fce845324..b61ab8fa9d 100644 --- a/src/Appwrite/Platform/Modules/Functions/Workers/Screenshots.php +++ b/src/Appwrite/Platform/Modules/Functions/Workers/Screenshots.php @@ -154,8 +154,6 @@ class Screenshots extends Action $framework = Config::getParam('frameworks', [])[$site->getAttribute('framework', '')] ?? null; $sleep = $framework['screenshotSleep'] ?? 3000; - // Concurrency comes from the worker's coroutines (_APP_WORKER_MAX_COROUTINES), - // so the two themes are captured sequentially within a message. $captures = []; foreach (['screenshotLight' => 'light', 'screenshotDark' => 'dark'] as $key => $theme) { $captures[$key] = $screenshots->create( diff --git a/src/Appwrite/Screenshots/Client.php b/src/Appwrite/Screenshots/Client.php index 74fe9fb98c..096d737393 100644 --- a/src/Appwrite/Screenshots/Client.php +++ b/src/Appwrite/Screenshots/Client.php @@ -22,9 +22,6 @@ class Client /** * Capture a screenshot of a page and return the PNG bytes. * - * The browser service responds with raw image bytes on success and - * `{"error": message}` with a 4xx status on failure. - * * @param array $headers * @throws Exception on an error response * @throws ClientExceptionInterface on transport failure