From 8c7ecd6cdb8db9b16d8a3f8cb107c5bde82c88ac Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 6 May 2026 13:57:07 +1200 Subject: [PATCH] fix(notifications): add SDK Method group to alerts skeleton actions PHPStan flagged missing required `group` parameter on the SDK Method constructors for the alerts XList and Track\Get skeleton actions. Group set to 'alerts' to align with the resource grouping convention used elsewhere in the account namespace. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/Appwrite/Platform/Modules/Account/Http/Alerts/Track/Get.php | 1 + src/Appwrite/Platform/Modules/Account/Http/Alerts/XList.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Appwrite/Platform/Modules/Account/Http/Alerts/Track/Get.php b/src/Appwrite/Platform/Modules/Account/Http/Alerts/Track/Get.php index 7e9a9d9e44..32e1656af1 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Alerts/Track/Get.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Alerts/Track/Get.php @@ -32,6 +32,7 @@ class Get extends Action ->label('scope', 'public') ->label('sdk', new Method( namespace: 'account', + group: 'alerts', name: 'getAlertTrack', description: '/docs/references/account/get-alert-track.md', auth: [AuthType::SESSION, AuthType::JWT], diff --git a/src/Appwrite/Platform/Modules/Account/Http/Alerts/XList.php b/src/Appwrite/Platform/Modules/Account/Http/Alerts/XList.php index 3f4b60d3b7..18b3243071 100644 --- a/src/Appwrite/Platform/Modules/Account/Http/Alerts/XList.php +++ b/src/Appwrite/Platform/Modules/Account/Http/Alerts/XList.php @@ -31,6 +31,7 @@ class XList extends Action ->label('scope', 'account') ->label('sdk', new Method( namespace: 'account', + group: 'alerts', name: 'listAlerts', description: '/docs/references/account/list-alerts.md', auth: [AuthType::SESSION, AuthType::JWT],