mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
0f1a2b5097
commit
8c7ecd6cdb
@@ -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],
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user