From 58de51160c28be2024ebbde44b9ecfd5f86cb097 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Wed, 7 Jan 2026 13:17:18 +0100 Subject: [PATCH] fix(psalm): Fix return type of TokenService::getTokens Signed-off-by: Carl Schwan --- apps/webhook_listeners/lib/Service/TokenService.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/webhook_listeners/lib/Service/TokenService.php b/apps/webhook_listeners/lib/Service/TokenService.php index dce6a56f03f..8d2d6814163 100644 --- a/apps/webhook_listeners/lib/Service/TokenService.php +++ b/apps/webhook_listeners/lib/Service/TokenService.php @@ -65,7 +65,11 @@ class TokenService { * * @param WebhookListener $webhookListener * @param ?string $triggerUserId the user that triggered the webhook call - * @return array{user_ids?:array,user_roles?:array{owner?:array,trigger?:array}} + * @return array{ + * user_ids?: array, + * trigger?: array{baseUrl: string, token: string, userId: string}, + * owner?: array{baseUrl: string, token: string, userId: string}, + * } */ public function getTokens(WebhookListener $webhookListener, ?string $triggerUserId): array { $tokens = [];